fish: nix store optimise after updates, and send an ntfy notification

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

View file

@ -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";