nix linter settings

This commit is contained in:
Danilo Reyes 2025-10-02 12:52:31 -06:00
parent e4d8b16ee6
commit ec57fb1611
2 changed files with 3 additions and 5 deletions

View File

@ -42,7 +42,6 @@ _final: prev: {
symbola
mealie
flaresolver
nixd
nix-statix
deadnix
;
}

View File

@ -9,7 +9,6 @@ let
packages = builtins.attrValues {
inherit (pkgs)
nixfmt-rfc-style # formatting
nixfmt-tree # formatting
cachix # binary cache management
nixd # language server for Nix
deadnix # detext unused/uneeded dependencies
@ -36,8 +35,8 @@ in
users.users.jawz = { inherit packages; };
home-manager.users.jawz.programs.${shellType}.shellAliases = {
nixformat = ''
deadnix -- -e && \
nixfmt-tree && \
deadnix -e && \
nix run nixpkgs#nixfmt-tree && \
statix fix
'';
};