add doll.repair; sync aerial

This commit is contained in:
41666 2024-03-23 16:29:31 -04:00
parent 0f2d410de2
commit fddfd8b18c
6 changed files with 24 additions and 8 deletions

View file

@ -48,13 +48,18 @@ switch target_host=hostname:
# Update flake inputs to their latest revisions
update:
nix flake update
nix flake update
upgit: update
git add flake.lock
git commit -m "update flake.lock"
git push
# Garbage collect old OS generations and remove stale packages from the nix store
gc generations="5d":
sudo nix-env --delete-generations {{generations}}
sudo nix-store --gc
sudo nix-collect-garbage -d
sudo nix-collect-garbage -d --delete-older-than {{generations}}
# Add a machine's age key for SOPS
sops-add machine_name target: