diff options
author | tv <tv@krebsco.de> | 2015-10-15 00:19:12 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-10-15 00:19:12 +0200 |
commit | 9a2ba1469d297ccb7d379e96274085abb64f4a95 (patch) | |
tree | b69563aeeea052329e7a4b381fab9abad4d15ca2 /tv/2configs | |
parent | 6396bf41febce4bd190645f84831b7661dfef8ae (diff) |
tv base: environment.variables.EDITOR = "vim"
Diffstat (limited to 'tv/2configs')
-rw-r--r-- | tv/2configs/base.nix | 6 |
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"; } { |