module(just): Add dead-nix to check unused nix code
This commit is contained in:
parent
07fc72c500
commit
b497d6b938
36 changed files with 30 additions and 47 deletions
|
|
@ -37,6 +37,9 @@ buildHome host=DEFAULT_HOST $USER=DEFAULT_USER:
|
|||
@echo HOST: {{ host }}
|
||||
nh home build -b backup {{ if host != DEFAULT_HOST { "-c \"" + USER + "@" + host + "\"" } else { "" } }} {{ FLAKE_HOME }}
|
||||
|
||||
deadNix:
|
||||
nix run github:astro/deadnix -- . --exclude ./pkgs/_sources/generated.nix ./nixos/configurations/{Akun,Tytonidae,Cape}/hardware-configuration.nix
|
||||
|
||||
alias s := switch
|
||||
alias u := update
|
||||
alias d := deploy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue