all repos — nixfiles @ d6ff15479a8863724c28f94ab5cdc216a2b897c8

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