Hey
After experimenting with two disks migration from ext4 to btrfs yesterday, this didn’t go very well and ended up reinstalling NixOS (not really btrfs fault ), however, after reinstalling my users had different uid than in the previous install, and I had to fix many uid / gid in my 6 users home directories.
This wouldn’t have happened if I did set each user its uid in the configuration file.
Don’t be like me
users.users.solene.uid = 1000;
users.users.foo.uid = 1001;
users.users.bar.uid = 1002;
users.users.hunter2.uid = 1337;