about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-07-15 16:52:07 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-07-15 16:52:07 +0200
commit2a2b418cf63c995122e590719745b60c95af379e (patch)
tree56a330f56b8133b2f8a9b9b172c9b503b16091c7
parentDirenv: Use nix-direnv to keep across gc (diff)
downloadnixos-config-2a2b418cf63c995122e590719745b60c95af379e.tar.gz
nixos-config-2a2b418cf63c995122e590719745b60c95af379e.tar.bz2
nixos-config-2a2b418cf63c995122e590719745b60c95af379e.zip
Move neovim aliases overlay to official module
-rw-r--r--hosts/configuration.nix7
-rw-r--r--overlays/base/default.nix5
2 files changed, 6 insertions, 6 deletions
diff --git a/hosts/configuration.nix b/hosts/configuration.nix
index 9913f35..55826ef 100644
--- a/hosts/configuration.nix
+++ b/hosts/configuration.nix
@@ -87,7 +87,6 @@
     usbutils
     pciutils
     gnupg
-    neovim
     comma
   ];
 
@@ -109,6 +108,12 @@
   programs = {
     ssh.askPassword = "";
 
+    neovim = {
+      enable = true;
+      viAlias = true;
+      vimAlias = true;
+    };
+
     light.enable = true;
 
     firejail = {
diff --git a/overlays/base/default.nix b/overlays/base/default.nix
index d97edd6..1eb0edf 100644
--- a/overlays/base/default.nix
+++ b/overlays/base/default.nix
@@ -30,11 +30,6 @@ final: prev:
     };
   });
 
-  neovim = prev.neovim.override {
-    vimAlias = true;
-    viAlias = true;
-  };
-
   minecraft = prev.minecraft.override { jre = prev.jdk8; };
 
   xwinwrap = prev.xwinwrap.overrideAttrs (old: {