From 9d2e9563583ed6547b9a52707ca0228e0096c7a5 Mon Sep 17 00:00:00 2001 From: Julian T Date: Sat, 17 Jul 2021 22:19:52 +0200 Subject: Update scripts and applications --- 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 449e807..ed088dd 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 10d -home-manager expire-generations "-10 days" +nix-env --delete-generations +1 +home-manager expire-generations "-1 days" sudo nix-collect-garbage --delete-older-than 10d - +sudo nixos-rebuild boot -- cgit v1.2.3