fish: Add home-manager expire-generations when cleaning home profile

Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
This commit is contained in:
George Kaklamanos 2025-05-21 15:09:29 +03:00
parent 0189f06255
commit 0fece5e6d1
No known key found for this signature in database
GPG key ID: C0CAB8A6BDC9399D

View file

@ -32,7 +32,7 @@
"hms" = "home-manager switch --flake path:/home/gkaklas/nix/home-manager/";
"hm" = "home-manager --flake path:/home/gkaklas/nix/home-manager/";
"uph" = "nix flake update --flake path:/home/gkaklas/nix/home-manager/ ";
"clh" = "nix profile wipe-history --older-than 7d";
"clh" = "nix profile wipe-history --older-than 7d && home-manager expire-generations '-7 days'";
"update" = "upn && nrs && cln && uph && hms && clh && nix store gc";
# git