summaryrefslogtreecommitdiffstats
path: root/2configs/tv/base.nix
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-07-16 06:26:41 +0200
committertv <tv@shackspace.de>2015-07-16 06:26:41 +0200
commitd4fff63c0beccdd2638d570f6b9a2efaa996639e (patch)
tree850a3fe867964d83479d86f597240cc02b1c79ef /2configs/tv/base.nix
parent813775b1a7ca81ca28dec7dd4a306b82457037a8 (diff)
2 tv.base: group vim configuration
Diffstat (limited to '2configs/tv/base.nix')
-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 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'