summary refs log tree commit diff stats
path: root/user/settings/fish/functions/home-manager-rollback.fish
blob: c3b585b067f5d82a55e387a8dfe7a73be9508394 (plain)
1
2
3
function home-manager-rollback
    (nix-shell -p home-manager --run 'home-manager --generations' | head -n2 | tail -n1 | field 7)/activate
end