summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-10-15 00:19:12 +0200
committertv <tv@krebsco.de>2015-10-15 00:19:12 +0200
commit9a2ba1469d297ccb7d379e96274085abb64f4a95 (patch)
treeb69563aeeea052329e7a4b381fab9abad4d15ca2 /tv/2configs
parent6396bf41febce4bd190645f84831b7661dfef8ae (diff)
tv base: environment.variables.EDITOR = "vim"
Diffstat (limited to 'tv/2configs')
-rw-r--r--tv/2configs/base.nix6
1 files changed, 1 insertions, 5 deletions
diff --git a/tv/2configs/base.nix b/tv/2configs/base.nix
index 1c6eba6..a5ad7c7 100644
--- a/tv/2configs/base.nix
+++ b/tv/2configs/base.nix
@@ -79,11 +79,7 @@ in
environment.etc."vim/vim${majmin pkgs.vim.version}".source =
"${pkgs.vim}/share/vim/vim${majmin pkgs.vim.version}";
- # multiple-definition-problem when defining environment.variables.EDITOR
- environment.extraInit = ''
- EDITOR=vim
- '';
-
+ environment.variables.EDITOR = lib.mkForce "vim";
environment.variables.VIM = "/etc/vim";
}
{