about summary refs log tree commit diff
path: root/overrides
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2014-10-13 06:15:48 +0200
committeraszlig <aszlig@redmoonstudios.org>2014-10-13 06:17:50 +0200
commite804bebf8cdd8ac467696a1c5de04fcd39703e71 (patch)
tree52419552c1b15ee97fe8a57843570815d2ecee99 /overrides
parent37a57d2753f84c809a470693ad3afb6c4e791ade (diff)
cfgfiles: Add vim configuration without plugins.
Yep, it's only a rudimentary configuration without any plugins yet,
because so far I've been using VAM to manage plugins but in the end I
want to have them consistent among all my machines.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'overrides')
-rw-r--r--overrides/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/overrides/default.nix b/overrides/default.nix
index 3ea66eb4..1e508a04 100644
--- a/overrides/default.nix
+++ b/overrides/default.nix
@@ -76,6 +76,14 @@ let
       }));
     };
 
+    vim_configurable = o: let
+      vimrc = import ../cfgfiles/vim.nix { pkgs = everything; };
+    in {
+      postInstall = (o.postInstall or "") + ''
+        ln -sf "${vimrc}" "$out/share/vim/vimrc"
+      '';
+    };
+
     mpv = o: {
       installPhase = o.installPhase + ''
         cat > "$out/etc/mpv/mpv.conf" <<CONFIG