all repos — nixfiles @ ad4af2f233f19df7f916689d44f8d79180dcda14

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