about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-03-17 23:03:31 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-03-17 23:03:31 +0100
commit3bbf40d2819eb91a8e9b853451f504aeb24bb347 (patch)
tree31e810aa5685af5147f979481cb9eb6cba33ffb1 /hosts
parentMisc: Rename option (diff)
downloadnixos-config-3bbf40d2819eb91a8e9b853451f504aeb24bb347.tar.gz
nixos-config-3bbf40d2819eb91a8e9b853451f504aeb24bb347.tar.bz2
nixos-config-3bbf40d2819eb91a8e9b853451f504aeb24bb347.zip
Hosts: Add neovim config
Diffstat (limited to 'hosts')
-rw-r--r--hosts/configuration.nix18
-rw-r--r--hosts/home.nix1
2 files changed, 2 insertions, 17 deletions
diff --git a/hosts/configuration.nix b/hosts/configuration.nix
index 7e95a00..e29eb8e 100644
--- a/hosts/configuration.nix
+++ b/hosts/configuration.nix
@@ -108,6 +108,7 @@
     wget
     gitFull
     git-crypt
+    neovim
     htop
     pfetch
     unzip
@@ -178,23 +179,6 @@
       clock24 = true;
     };
 
-    neovim = {
-      enable = true;
-      viAlias = true;
-      vimAlias = true;
-      configure = {
-        extraConfig = ''
-          filetype plugin indent on
-          syntax on
-          set title
-          set tabstop=8
-          set softtabstop=8
-          set shiftwidth=8
-          set noexpandtab
-        '';
-      };
-    };
-
     light.enable = true;
 
     dconf.enable = true;
diff --git a/hosts/home.nix b/hosts/home.nix
index 7de1dcc..0204918 100644
--- a/hosts/home.nix
+++ b/hosts/home.nix
@@ -360,6 +360,7 @@
   };
 
   xdg = {
+    configFile."nvim/".source = "${dotfiles}/nvim/";
     configFile."sway/config".source = "${dotfiles}/sway_config";
     configFile."river/".source = "${dotfiles}/river/";
     configFile."waybar/".source = "${dotfiles}/waybar/";