Use programs.vim.defaultEditor
This commit is contained in:
parent
c2d16c27df
commit
dc132ac1ac
|
@ -58,13 +58,13 @@
|
||||||
extraRules = [ { users = [ "djm" ]; noPass = true; keepEnv = true; } ];
|
extraRules = [ { users = [ "djm" ]; noPass = true; keepEnv = true; } ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.vim.defaultEditor = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
#procmail
|
#procmail
|
||||||
git
|
git
|
||||||
vim
|
|
||||||
wget
|
wget
|
||||||
];
|
];
|
||||||
environment.variables = { EDITOR = "vim"; VISUAL = "vim"; };
|
|
||||||
|
|
||||||
nix.trustedUsers = [ "root" "djm" ];
|
nix.trustedUsers = [ "root" "djm" ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue