Nixos Disaster*

May 27, 2026 • 18:28 / 3 min read

I have been using NixOS for like 6 months now, and that distro itch hit me

Switched to Debian

I thought “i am a programmer and i like stable things.” but i don’t think debian was something i would want to use after the two days i spent using and of which 90% was just setting things up

Debian being debian

After installation i couldn’t figure out how to get the wifi working because the interface was in DORMANT status. that meant something was holding it hostage (duh). Then i found there is this file /etc/network/interfaces.d which was the bugger i was trying to find. The thing had the creds of wifi hardcoded which i used during installation.

And after that i somehow got audio working find (which was suprising).

And then finally i had to run aapat like a thousand times (i use nix btw)

sudo apt install this and that. i was thinking about installing nix at that point.

And after wasting a ton of time on that stable but stripped to the bare minimum distro i had enough because work doesn’t wait for you to setup that nice little status bar of yours.

I went back to NixOS (lol)

And then after installing NixOS 3 times because the BIOS coulnd’t recognize my stupid SSD, in the 4th time i had something… that sweet <NixOS Stage 1> which felt like a relief from the Debian’s horror movie credits like boot logs

Didn’t change hardware-config.nix

but then i hit another brickwall, after setting up all the things and stuff, i moved my config (which is at https://github.com/iamkaran/nix-config btw) i accidentally messed up the paths when i was trying to replace the poath of hardware-config.nix and ended up with the old hardware-config. and thats when everything went downhill because i didnt have that little USB WITH ME!!!!

after some research i found out that in the menu where you select NixOS generation, you can press e to edit the bootloader command or whatever and after appending this SYSTEMD_SULOGIN_FORCE=1 i finally got out of that “You are in emergency mode noob” and then i happily mounted my disk and then changed the incorrect disk UUID.

then realization hit… HOW THE F AM I GOING TO DO A REBUILD NOW????

but then i realized about the main point of NixOS - HOLY ROLLBACKS!!!!!!!!!!!!1

so i quickly went back to the first gen and did rebuild and voila my system was back, all the backgrounds, wallpapers, swaybar, softwares, tools!!!!!

I am never going to switch to any other distro from now on

quote of the day:

text ///
you don't choose the distro, the distro chooses you