nlewo / comin

GitOps For NixOS Machines
MIT License
487 stars 17 forks source link

Auto reboot on upgrade #34

Open walseb opened 7 months ago

walseb commented 7 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 7 months ago

This is not currently possible but planned!

dkowis commented 3 weeks ago

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