!coeAONBrWyDJnYMbMi:nixos.org

NixOS System Operations

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

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


SenderMessageTime
1 Jul 2025
@pyrox:pyrox.devdish [Fox/It/She] joined the room.16:48:41
2 Jul 2025
@michael.zeagler:matrix.org@michael.zeagler:matrix.org left the room.02:12:34
6 Jul 2025
@cathal_mullan:matrix.orgCathal changed their display name from CJ to Cathal.17:17:33
9 Jul 2025
@jonhermansen:matrix.orgjonhermansen joined the room.01:16:46
@jonhermansen:matrix.orgjonhermansen left the room.01:57:30
10 Jul 2025
@fr0de_0xa:matrix.orgFred Lahde joined the room.18:45:40
11 Jul 2025
@importantblimp:matrix.orgimportantblimp joined the room.10:12:21
@felschr:matrix.orgfelschr joined the room.17:03:25
12 Jul 2025
@ryan:matrix.stateless.idRyan joined the room.09:18:28
@bun:nixfox.caCherrybun 🍒 (they/them) changed their display name from Monarch Bun (they/them) to Monarch 🥖 (they/them).16:40:52
@bun:nixfox.caCherrybun 🍒 (they/them) changed their profile picture.16:41:05
13 Jul 2025
@exaltia:chat.exaltia.fr@exaltia:chat.exaltia.fr joined the room.03:53:31
@adam:robins.wtf@adam:robins.wtf left the room.23:02:53
14 Jul 2025
@matthewcroughan:defenestrate.itmatthewcroughan joined the room.15:47:00
@saiko:knifepoint.net@saiko:knifepoint.net joined the room.16:09:31
@maxyw:envs.netmaxyw joined the room.17:45:42
@jyrama:garm.jrd.fijyrama joined the room.17:49:20
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

Show newer messages


Back to Room ListRoom Version: 10