Use programs.vim.defaultEditor

This commit is contained in:
David Morgan 2022-11-16 20:38:49 +00:00
parent c2d16c27df
commit dc132ac1ac
Signed by: djm
GPG Key ID: C171251002C200F2
1 changed files with 2 additions and 2 deletions

View File

@ -58,13 +58,13 @@
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" ];