all repos — nixfiles @ 2e2a1e9761f6caedc1753abd7b31cbff1b7549fe

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