Commit 4f0788ab872a

Vincent Demeester <vincent@sbr.pm>
2026-01-28 16:13:01
feat(home): add neovim module with vim alias
Create shared neovim module that bundles neovim, its dependencies (unzip for mason.nvim, luarocks for lazy.nvim), and aliases vim to nvim. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 40e4d26
Changed files (3)
home
common
systems
home/common/dev/neovim.nix
@@ -0,0 +1,12 @@
+{ pkgs, ... }:
+{
+  home.packages = with pkgs; [
+    neovim
+    unzip # for mason.nvim
+    luarocks # for lazy.nvim rocks support
+  ];
+
+  home.shellAliases = {
+    vim = "nvim";
+  };
+}
systems/aomi/home.nix
@@ -4,6 +4,7 @@
     ../../home/common/dev/default.nix
     ../../home/common/dev/gh-news.nix
     ../../home/common/dev/lazyworktree.nix
+    ../../home/common/dev/neovim.nix
     ../../home/common/dev/emacs.nix
     ../../home/common/dev/containers.nix
     ../../home/common/dev/tektoncd.nix
@@ -21,9 +22,6 @@
     claude-hooks
 
     lazygit
-    neovim
-    unzip # for mason.nvim
-    luarocks # for lazy.nvim rocks support
   ];
 
   # Passage update service and timer
systems/kyushu/home.nix
@@ -11,6 +11,7 @@ in
     ../../home/common/dev/containers.nix
     ../../home/common/dev/gh-news.nix
     ../../home/common/dev/lazyworktree.nix
+    ../../home/common/dev/neovim.nix
     ../../home/common/dev/tektoncd.nix
     ../../home/common/services/color-scheme-timer.nix
     ../../home/common/services/gcal-to-org.nix
@@ -77,10 +78,6 @@ in
     toggle-color-scheme
     shpool-remote
 
-    neovim
-    unzip # for mason.nvim
-    luarocks # for lazy.nvim rocks support
-
     slackdump
   ];