From e0ed64092db25f98d3665605693255c3192efeb2 Mon Sep 17 00:00:00 2001 From: Julian T Date: Mon, 22 Aug 2022 13:18:02 +0200 Subject: updates from laptop --- 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 b7e8f22..db492ab 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 "-0 days" -sudo nix-collect-garbage -d +nix-env --delete-generations old +home-manager expire-generations "0 days" +sudo nix-collect-garbage --delete-older-than 10 sudo nixos-rebuild boot -- cgit v1.2.3