Join Nostr
2026-10-19 01:19:22 UTC

shortwavesurfer2009 on Nostr: Well, that was great fun. I had the really bright, intelligent idea that I'm going to ...

Well, that was great fun.

I had the really bright, intelligent idea that I'm going to switch my username on my #NixOS

Well, my dumbass edits the configuration.nix and changes the Define User section from OldUsername to NewUsername and rebuilds and reboots the system without setting a fucking password.

So to move all of my data from the old username to the new username, I had to log in as the root user, set a password for my new user, delete the new user's home folder, and then "mv /home/OldUsername /home/NewUsername" followed by "chown -r NewUsername:users /home/NewUsername" to give the new username, read and write permissions over that directory properly.