all repos — nixfiles @ 248969cd2fbb9417598c1ce9420a2d5beb101cb2

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

user/settings/fish/functions/home-manager-rollback.fish (view raw)

1
2
3
function home-manager-rollback
    (nix-shell -p home-manager --run 'home-manager --generations' | head -n2 | tail -n1 | field 7)/activate
end