nlewo / comin

GitOps For NixOS Machines
MIT License
473 stars 16 forks source link

Auto reboot on upgrade #34

Open walseb opened 6 months ago

walseb commented 6 months ago

Hello!

Is it possible to have this package restart the machine after the kernel or anything requiring a restart has been updated? Like system.autoUpgrade.allowReboot does for the autoUpgrade package?

I haven't found anything regarding this online.

Thanks!

nlewo commented 6 months ago

This is not currently possible but planned!

dkowis commented 1 week ago

I would also love to have the allowReboot with a configurable time window same as the autoUpgrade package