Use programs.vim.defaultEditor
This commit is contained in:
parent
c2d16c27df
commit
dc132ac1ac
|
@ -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" ];
|
||||
|
||||
|
|
Loading…
Reference in New Issue