diff --git a/common.nix b/common.nix index 44bb9dc..8612199 100644 --- a/common.nix +++ b/common.nix @@ -68,8 +68,6 @@ with builtins; { aria2 usbutils numbat - - alejandra ]; }; diff --git a/modules/shell/helix.nix b/modules/shell/helix.nix index 66fb716..2929e9b 100644 --- a/modules/shell/helix.nix +++ b/modules/shell/helix.nix @@ -62,6 +62,14 @@ name = "nu"; language-servers = ["nu-builtin-lsp"]; } + { + name = "nix"; + formatter = { + command = "${pkgs.alejandra}/bin/alejandra"; + args = ["--quiet"]; + }; + auto-format = true; + } ]; }; };