!coeAONBrWyDJnYMbMi:nixos.org

NixOS System Operations

531 Members
About system administration for running NixOS systems in production. Declaratively manage your operations. | Room recommendations: #networking:nixos.org138 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
15 Jul 2025
@debtquity:matrix.orgdebtquity joined the room.00:34:19
@tazv:matrix.orgtazvanyone ever tried to replace an active nix store path with a nar while being offline? I get into a weird catch 22 where I can't update the path because its tied to my current config but because it also messed up my network drivers I can't get it online to fix it00:37:21
@scrumplex:duckhub.ioScrumplex After rw remounting /nix/store I used rsync to copy over some store paths from another system. Maybe you can try copying the store paths onto some storage medium and then replace them in /nix/store on the broken machine 06:03:40
@Valodim:stratum0.org@Valodim:stratum0.org left the room.07:33:58
@flare:matrix.darkc0de.oneflare
In reply to @tazv:matrix.org
anyone ever tried to replace an active nix store path with a nar while being offline? I get into a weird catch 22 where I can't update the path because its tied to my current config but because it also messed up my network drivers I can't get it online to fix it
weird test but you may be able to use an android phone with a usbc to ethernet adapter and perform ethernet tethering from android settings. this is how I have gotten myself out of that situation in non-nix systems before. Then once it is downloaded the new paths you can do I believe "nixos-rebuild boot" and as long as your /boot partition is mounted you should be able change configs without errors
13:19:02
@flare:matrix.darkc0de.oneflareregardless, you can try to go to a prior nixos generation from the boot menus (I use grub so its a menu entry for me) as long as you didnt do a garbage collect and delete all prior generations before the system was borked13:20:14
@flare:matrix.darkc0de.oneflare
In reply to @flare:matrix.darkc0de.one
weird test but you may be able to use an android phone with a usbc to ethernet adapter and perform ethernet tethering from android settings. this is how I have gotten myself out of that situation in non-nix systems before. Then once it is downloaded the new paths you can do I believe "nixos-rebuild boot" and as long as your /boot partition is mounted you should be able change configs without errors
there is a command for nixos-rebuild that only sets the new config for the next boot, I can remember what it is because im not at my computer and I have it layered in my devops makefiles so please correct me if I am wrong
13:21:50
@tazv:matrix.orgtazvthis is the only thing I hadn't tried yet. Was hoping to have a nix blessed way to recover a path. nix store verify --no-trust shows these paths as corrupted so nix can tell the hashes don't match but I've had no luck with importing the paths with a NAR14:16:06
@tazv:matrix.orgtazvthe issue with doing this is its some dependencies for Network Manager that are borked so they are very likely to be the same across the generations I have recently loaded14:19:53
@flare:matrix.darkc0de.oneflarethere is always a case of building a quick and dirty nix package where you bundle a binary release of network manager or your network drivers for the particular NIC and load that as a driver module. this is something I had to do with my MS Surface Go before. Then include the path to the package via absolute path (instead of pkgs.networkdriver it would be "/var/lib/mynetdriver") and it would load the module or pkg that way bringing it into the nix store. you would have to bring the binaries over by usb however 19:34:09
@0xcafca:matrix.org0xcafca joined the room.23:06:12
17 Jul 2025
@imadalin:matrix.org@imadalin:matrix.org left the room.16:15:01
18 Jul 2025
@sandro:supersandro.deSandro 🐧 joined the room.12:29:23
19 Jul 2025
@huskydog9988:matrix.orgHusky joined the room.16:09:30
20 Jul 2025
@binarypaws:reve.landBinaryPaws joined the room.18:38:45
21 Jul 2025
@exaltia:chat.exaltia.fr@exaltia:chat.exaltia.fr left the room.11:07:47
@infinidoge:inx.moeInfinidoge 🏳️‍⚧️ left the room.16:52:57
@ihar.hrachyshka:matrix.org@ihar.hrachyshka:matrix.org joined the room.22:09:35
22 Jul 2025
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their display name from The Worm 🏳️‍🌈 (he/they) to Wormy McWormface 🏳️‍🌈 (he/they).18:27:53
@solidhal:matrix.orgsolideva joined the room.20:38:44
23 Jul 2025
@lotte:chir.rs@lotte:chir.rs changed their profile picture.10:17:15
24 Jul 2025
@blocklisted:matrix.orgblocklisted joined the room.10:08:01
@maxcf:matrix.orgMax joined the room.16:08:25
25 Jul 2025
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their display name from Wormy McWormface 🏳️‍🌈 (he/they) to Cat McFishface 🏳️‍🌈 (he/they).01:43:22
26 Jul 2025
@h0lylag:matrix.orgh0lylag joined the room.21:23:27
28 Jul 2025
@alex:acrawford.com@alex:acrawford.com left the room.21:30:04
29 Jul 2025
@maxcf:matrix.orgMax changed their display name from Maximilian Canez Fernandes to HAL9000.20:17:35
30 Jul 2025
@yan:we2.eeyan 💕 joined the room.01:27:50
@ranaexmachina:matrix.org@ranaexmachina:matrix.org joined the room.07:14:42
@butterfly4:matrix.orgClarion joined the room.18:36:13

Show newer messages


Back to Room ListRoom Version: 10