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