chore: remove deprecated nix.nix

This commit is contained in:
2026-05-04 11:13:39 +02:00
parent ac0958db60
commit 2fc05cdfd0
2 changed files with 2 additions and 35 deletions

View File

@@ -63,5 +63,5 @@ deploy host remote=host:
nixos-rebuild switch --flake .#{{host}} --target-host {{remote}} --sudo --ask-sudo-password
# garbage collect old generations
clean:
sudo nix-collect-garbage $(nix eval --raw -f ./nix.nix nix.gc.options)
clean host=`hostname`:
sudo nix-collect-garbage $(nix eval --raw .#nixosConfigurations.{{host}}.config.nix.gc.options)