specializations are annoying + trying to fix emacs

This commit is contained in:
2025-10-02 03:27:13 -06:00
parent acdc0fb0eb
commit 771b7b1a42
6 changed files with 23 additions and 30 deletions

View File

@@ -9,8 +9,10 @@ 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
statix # linter for Nix expressions
;
};
@@ -34,9 +36,9 @@ in
users.users.jawz = { inherit packages; };
home-manager.users.jawz.programs.${shellType}.shellAliases = {
nixformat = ''
nix run unstable#deadnix -- -e && \
nix run unstable#nixfmt-tree && \
nix run unstable#statix fix
deadnix -- -e && \
nixfmt-tree && \
statix fix
'';
};
};