summary refs log tree commit diff stats
path: root/users
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-08-14 12:40:58 +0200
committersils <sils@sils.li>2023-08-14 12:40:58 +0200
commit43ac4f5a74ef47908e55ba7242ebf9600ee26626 (patch)
tree652c83d7e73a7292b39b7f6a4e50f8b9c66f6269 /users
parentRefactor(u/sils): Format (diff)
downloadnix-config-43ac4f5a74ef47908e55ba7242ebf9600ee26626.zip
Feat(treewide): Switch to nixvim and tweak nvim config
Diffstat (limited to 'users')
-rw-r--r--users/sils/default.nix6
-rw-r--r--users/sils/nixvim/default.nix (renamed from users/sils/nixneovim/default.nix)22
2 files changed, 14 insertions, 14 deletions
diff --git a/users/sils/default.nix b/users/sils/default.nix
index 48e5dd5..8483819 100644
--- a/users/sils/default.nix
+++ b/users/sils/default.nix
@@ -1,4 +1,4 @@
-{nixneovim, ...}: {
+{nixvim, ...}: {
   imports = [
     ./direnv
     #./eww
@@ -8,7 +8,7 @@
     ./hyfetch
     ./hyprland
     ./mako
-    ./nixneovim
+    ./nixvim
     ./packages
     #./river #TODO Update Shell Library
     ./ssh
@@ -17,7 +17,7 @@
     #./yambar #TODO Update Shell Library
     ./waybar
     ./zsh
-    nixneovim.nixosModules.default
+    nixvim.homeManagerModules.nixvim
   ];
 
   home = {
diff --git a/users/sils/nixneovim/default.nix b/users/sils/nixvim/default.nix
index db12279..a35ab35 100644
--- a/users/sils/nixneovim/default.nix
+++ b/users/sils/nixvim/default.nix
@@ -1,5 +1,5 @@
 {...}: {
-  programs.nixneovim = {
+  programs.nixvim = {
     enable = true;
     options = {
       number = true;
@@ -8,7 +8,7 @@
       tabstop = 2;
       scrolloff = 999;
     };
-    colorschemes.gruvbox-baby.enable = true;
+    colorschemes.gruvbox.enable = true;
     plugins = {
       airline = {
         enable = true;
@@ -19,18 +19,15 @@
         enable = true;
         autoHide = true;
       };
-      nvim-cmp = {
+      coq-nvim = {
         enable = true;
-        snippet = {
-          luasnip = {
-            enable = true;
-          };
-        };
+        autoStart = "shut-up";
+        installArtifacts = true;
       };
       lsp = {
         enable = true;
         servers = {
-          nil.enable = true;
+          nil_ls.enable = true;
           rust-analyzer.enable = true;
           ltex.enable = true;
         };
@@ -42,9 +39,12 @@
       mini = {
         enable = true;
       };
-      nvim-tree = {
+      #nvim-tree = {
+      #  enable = true;
+      #  git.enable = true;
+      #};
+      neo-tree = {
         enable = true;
-        git.enable = true;
       };
     };
   };