summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-07-16 06:26:41 +0200
committertv <tv@krebsco.de>2015-07-16 06:26:41 +0200
commitdaebc8c6fece58de2dfbe0fd30aeebc4c72b3453 (patch)
tree850a3fe867964d83479d86f597240cc02b1c79ef
parentf9d0e2c6a866402f4fd979d20bce4efebf63e07f (diff)
2 tv.base: group vim configuration
-rw-r--r--2configs/tv/base.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/2configs/tv/base.nix b/2configs/tv/base.nix
index f91e5bc..2d02bcf 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'