Mine does that too, sometimes.
Does it stay offline? My network often bounces when updating systemd, but I haven't seen it stay down.
I believe https://github.com/nixos/nixpkgs/pull/372196 fixes this if you are using systemd-networkd. It was merged to master last week and made it to unstable branches (https://nixpk.gs/pr-tracker.html?pr=372196).
Yup, I have had that several times too.
Re:Nix – Death by a Thousand Cuts
by SuperSandro2000 on Tuesday January 14, 2025 @08:44PM
(#42706368)
Probably because it restarts the network service. You can configure the systemd unit to be only reloaded or nothing at all m
Re:Nix – Death by a Thousand Cuts
by sigmonsays on Monday January 27, 2025 @05:08PM
(#42846269)
how do you do that?
I've painfully learned how to do everything I need. My only big complaint is updating systemd. I have yet to figure out the systemd update bug. Sometimes nixos-rebuild-switch takes my network offline when updating systemd. It's incredibly annoying to update a box and have it drop offline. My work around is to do a 'diff' and when systemd is updated, I reboot manually and only update the boot image.