about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--home-manager/soispha/config/neovim/nixvim/default.nix19
1 files changed, 18 insertions, 1 deletions
diff --git a/home-manager/soispha/config/neovim/nixvim/default.nix b/home-manager/soispha/config/neovim/nixvim/default.nix
index a96bc476..8fc6a05e 100644
--- a/home-manager/soispha/config/neovim/nixvim/default.nix
+++ b/home-manager/soispha/config/neovim/nixvim/default.nix
@@ -1,4 +1,4 @@
-{...}: {
+{pkgs, ...}: {
   imports = [
     ./autocmds
     ./clipboard
@@ -22,5 +22,22 @@
       --
       ---------------------------------------------------------------------------
     '';
+
+    extraPackages = with pkgs; [
+      /*
+      These are mostly linters and formatters used for different file types.
+      Including them here is fine, as they are not necessarily sync able to different people.
+      */
+      # nix
+      alejandra
+      statix
+
+      # yaml
+      yamllint
+
+      # shell
+      shellcheck
+      shfmt
+    ];
   };
 }