mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
12 lines
199 B
Nix
12 lines
199 B
Nix
{ pkgs, ... }:
|
|
let
|
|
alias = cmd: pkgs.writeShellScriptBin cmd ''
|
|
exec nix run github:buckley310/vim -- "$@"
|
|
'';
|
|
in
|
|
{
|
|
environment.systemPackages = [
|
|
(alias "vi")
|
|
(alias "vim")
|
|
];
|
|
}
|