mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +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")
|
|
];
|
|
}
|