fish: nix store optimise
after updates, and send an ntfy notification
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
This commit is contained in:
parent
0fece5e6d1
commit
8d4778c90f
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@
|
||||||
"hm" = "home-manager --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/ ";
|
"uph" = "nix flake update --flake path:/home/gkaklas/nix/home-manager/ ";
|
||||||
"clh" = "nix profile wipe-history --older-than 7d && home-manager expire-generations '-7 days'";
|
"clh" = "nix profile wipe-history --older-than 7d && home-manager expire-generations '-7 days'";
|
||||||
"update" = "upn && nrs && cln && uph && hms && clh && nix store gc";
|
"update" = "upn && nrs && cln && uph && hms && clh && nix store gc && nix store optimise && ntfy pub kelly 'Update done!'";
|
||||||
|
|
||||||
# git
|
# git
|
||||||
"gc" = "git commit --verbose --gpg-sign --signoff";
|
"gc" = "git commit --verbose --gpg-sign --signoff";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue