From aa63df9abf83e558fcadbdb25a6182fde81531d9 Mon Sep 17 00:00:00 2001 From: Julian T Date: Wed, 18 Aug 2021 18:12:03 +0200 Subject: More software and garbage rules --- nixhome/Scripts/nix_garbage | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nixhome/Scripts') 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 -- cgit v1.2.3