all repos — nixfiles @ a71b847d1ace67cfae1e45cd5f1b734012758547

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