From d4fff63c0beccdd2638d570f6b9a2efaa996639e Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 16 Jul 2015 06:26:41 +0200 Subject: 2 tv.base: group vim configuration --- 2configs/tv/base.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to '2configs') diff --git a/2configs/tv/base.nix b/2configs/tv/base.nix index f91e5bc50..2d02bcfb7 100644 --- a/2configs/tv/base.nix +++ b/2configs/tv/base.nix @@ -60,8 +60,8 @@ in nix.useChroot = true; } - { + # oldvim environment.systemPackages = with pkgs; [ vim ]; @@ -78,6 +78,9 @@ in EDITOR=vim ''; + environment.variables.VIM = "/etc/vim"; + } + environment.shellAliases = { # alias cal='cal -m3' gp = "${pkgs.pari}/bin/gp -q"; @@ -98,8 +101,6 @@ in dmesg = "dmesg -L --reltime"; }; - environment.variables.VIM = "/etc/vim"; - programs.bash = { interactiveShellInit = '' HISTCONTROL='erasedups:ignorespace' -- cgit v1.2.3 [cgit] Unable to lock slot /tmp/cgit/b3300000.lock: No such file or directory (2)