fish: Add home-manager expire-generations
when cleaning home profile
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
This commit is contained in:
parent
0189f06255
commit
0fece5e6d1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue