summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-10-15 00:19:12 +0200
committertv <tv@shackspace.de>2015-10-15 00:19:12 +0200
commit97b17113791d3410bb2fc8307a3a26a47594fcf8 (patch)
treec80269960f397cc154db86d05faa9125459543d3 /tv
parent335ea5a4c153b53e103d1b5d7c1a693c07296042 (diff)
tv base: environment.variables.EDITOR = "vim"
Diffstat (limited to 'tv')
-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 1c6eba662..a5ad7c7d3 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";
}
{