News for hackers. Stuff that matters.
Re:Nix – Death by a Thousand Cuts by sigmonsays on Tuesday January 14, 2025 @01:56PM (#42702014)
i use nixos on VMs, my desktop (Gaming and productivity) and servers. I use flakes for everything.

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.

Re:Nix – Death by a Thousand Cuts by sshine on Tuesday January 14, 2025 @03:51PM (#42703668)
Mine does that too, sometimes.
Re:Nix – Death by a Thousand Cuts by aidenn0 on Tuesday January 14, 2025 @02:13PM (#42702257)
Does it stay offline? My network often bounces when updating systemd, but I haven't seen it stay down.
Re:Nix – Death by a Thousand Cuts by bdd on Tuesday January 14, 2025 @06:57PM (#42705628)
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).
Re:Nix – Death by a Thousand Cuts by jonotime on Tuesday January 14, 2025 @07:10PM (#42705725)
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?