summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-03-14 20:07:34 +0100
committerAlan Pearce2023-03-14 20:07:34 +0100
commit39f730bcdc65b2e644531331c108ee225ea94929 (patch)
tree5dae88417036381303e739fba88ba120a6d85054
parent339a09090a926535f67f855890d97e41673f642a (diff)
downloadnixfiles-39f730bcdc65b2e644531331c108ee225ea94929.tar.lz
nixfiles-39f730bcdc65b2e644531331c108ee225ea94929.tar.zst
nixfiles-39f730bcdc65b2e644531331c108ee225ea94929.zip
zsh: add alias to cleanup old home-manager generations
-rw-r--r--user/settings/zsh.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/user/settings/zsh.nix b/user/settings/zsh.nix
index e7b2be60..7dffecb4 100644
--- a/user/settings/zsh.nix
+++ b/user/settings/zsh.nix
@@ -163,6 +163,7 @@ in {
       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";