Use programs.vim.defaultEditor everywhere

This commit is contained in:
David Morgan 2022-11-16 20:42:41 +00:00
parent dc132ac1ac
commit 6ec3cea36d
Signed by: djm
GPG Key ID: C171251002C200F2
3 changed files with 6 additions and 2 deletions

View File

@ -54,12 +54,13 @@
extraRules = [ { users = [ "djm" ]; noPass = true; keepEnv = true; } ];
};
programs.vim.defaultEditor = true;
environment.systemPackages = with pkgs; [
#procmail
vim
wget
];
environment.variables = { EDITOR = "vim"; VISUAL = "vim"; };
nix.trustedUsers = [ "root" "djm" ];

View File

@ -55,13 +55,14 @@
extraRules = [ { users = [ "djm" ]; noPass = true; keepEnv = true; } ];
};
programs.vim.defaultEditor = true;
environment.systemPackages = with pkgs; [
#procmail
git
vim
wget
];
environment.variables = { EDITOR = "vim"; VISUAL = "vim"; };
nix.trustedUsers = [ "root" "djm" ];

View File

@ -181,6 +181,8 @@ in
enableSSHSupport = true;
};
programs.vim.defaultEditor = true;
services.openssh.enable = true;
system.stateVersion = "21.05"; # Did you read the comment?