all repos — nixfiles @ aadd44d9b1e74002a21e00f691c5a9a196c9cb51

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

zsh: add a crude home-manager rollback alias
Alan Pearce alan@alanpearce.eu
Thu, 25 May 2023 09:25:55 +0200
commit

aadd44d9b1e74002a21e00f691c5a9a196c9cb51

parent

23f3032ad6ce214a41b7aee162ceadd6230f7f72

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

jump to
M user/settings/zsh.nixuser/settings/zsh.nix
@@ -181,6 +181,7 @@       ho = "home-manager";
       hob = "home-manager build";
       hos = "home-manager switch";
+      hor = "$(nix-shell -p home-manager --run 'home-manager generations' | head -n 2 | tail -n 1 | f 7)/activate";
       hon = "home-manager news";
       hoh = "home-manager help";
       hop = "home-manager packages";