<
danderson>
something I'd like for nixos-rebuild: a --confirm switch or mode, to automatically roll back if I lock myself out of my router :)
<
danderson>
(i.e. apply a config, prompt for confirmation, and rollback after N seconds if no confirmation happens)
<
NinjaTrappeur>
I have a workaround for that: nixos-rebuild switch && sleep 30 && nixos-rebuild switch --rollback
<
NinjaTrappeur>
If you don't ctrl-c for the 30 seconds after a rebuild, the router will rollback to the previous config
<
NinjaTrappeur>
(not as nice as what you requested, agree)
<
danderson>
yup, that's my current plan :)
<
danderson>
well no, my current plan is to stop building this router when I don't have direct access to its OOB console :P
<
NinjaTrappeur>
Sounds sensible :P
Guanin has joined #nixos-on-your-router
lopsided98 has joined #nixos-on-your-router
hexa- is now known as hex404
hex404 is now known as hexa-