diff options
author | aszlig <aszlig@redmoonstudios.org> | 2014-10-13 06:15:48 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2014-10-13 06:17:50 +0200 |
commit | e804bebf8cdd8ac467696a1c5de04fcd39703e71 (patch) | |
tree | 52419552c1b15ee97fe8a57843570815d2ecee99 /overrides/default.nix | |
parent | 37a57d2753f84c809a470693ad3afb6c4e791ade (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/default.nix')
-rw-r--r-- | overrides/default.nix | 8 |
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 |