all repos — nixfiles @ 39f730bcdc65b2e644531331c108ee225ea94929

System and user configuration, managed by nix and home-manager

zsh: add alias to cleanup old home-manager generations
Alan Pearce alan@alanpearce.eu
Tue, 14 Mar 2023 20:07:34 +0100
commit

39f730bcdc65b2e644531331c108ee225ea94929

parent

339a09090a926535f67f855890d97e41673f642a

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M user/settings/zsh.nixuser/settings/zsh.nix
@@ -163,6 +163,7 @@ hon = "home-manager news";       hoh = "home-manager help";
       hop = "home-manager packages";
       hol = "home-manager generations";
+      hox = "home-manager expire-generations '-30 days'";
 
       nish = "nix-shell";
       nic = "nix-channel";