aboutsummaryrefslogtreecommitdiffstats
path: root/home-manager/soispha/config
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-19 22:30:20 +0200
committerSoispha <soispha@vhack.eu>2023-08-19 22:30:20 +0200
commit02e5c2366fb5893d97bffc658eb6aa1be1ae4d06 (patch)
tree1d37c1f4af8bd7847054a67ff6249a649a543845 /home-manager/soispha/config
parentFix(hm/conf/lf/commands): Remove non-wrapped neovim dependency (diff)
downloadnixos-config-02e5c2366fb5893d97bffc658eb6aa1be1ae4d06.zip
Fix(hm/conf/neovim): Add linter and formatters to the wrapped neovim
Diffstat (limited to 'home-manager/soispha/config')
-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
+ ];
};
}