all repos — nixfiles @ c597162b9f01b04e85ca603605926184508bcc0e

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

fish: fix home-manager-rollback function
Alan Pearce alan@alanpearce.eu
Mon, 30 Oct 2023 09:33:50 +0100
commit

c597162b9f01b04e85ca603605926184508bcc0e

parent

a71b847d1ace67cfae1e45cd5f1b734012758547

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

jump to
M user/settings/fish/functions/home-manager-rollback.fishuser/settings/fish/functions/home-manager-rollback.fish
@@ -1,3 +1,3 @@ function home-manager-rollback
-    (nix-shell -p home-manager --run 'home-manager --generations' | head -n2 | tail -n1 | field 7)/activate
+    (home-manager generations | head -n2 | tail -n1 | field 7)/activate
 end