summaryrefslogtreecommitdiff
path: root/nixhome/Scripts/nix_garbage
diff options
context:
space:
mode:
Diffstat (limited to 'nixhome/Scripts/nix_garbage')
-rwxr-xr-xnixhome/Scripts/nix_garbage6
1 files changed, 3 insertions, 3 deletions
diff --git a/nixhome/Scripts/nix_garbage b/nixhome/Scripts/nix_garbage
index ed088dd..4e49508 100755
--- a/nixhome/Scripts/nix_garbage
+++ b/nixhome/Scripts/nix_garbage
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -x
-nix-env --delete-generations +1
-home-manager expire-generations "-1 days"
-sudo nix-collect-garbage --delete-older-than 10d
+nix-env --delete-generations +2
+home-manager expire-generations "-10 days"
+sudo nix-collect-garbage --delete-older-than 10
sudo nixos-rebuild boot