Alright so def a linux problem then, since the crashes, have you done a total wipe of the install usb drive?
Not just a copy over format, but a shred?
You mentioned still having issues with stability on the gnome nixos iso, maybe its the USB stick or the ISO so lets rule those out before we move to nix.
First, the USB stick. We need to shred the disk (not literally) to ensure any bad blocks get completely purged and written over. There are a few methods of shredding, we dont need a complex one though so we can just write over the entire disk with 0’s.
First, find how your disk is identified in the /dev directory. Use partition tools to figure it out, you will NOT get an undo button if you nuke your main drive.
This part you will need to do from a unix/linux shell, it wont work in windows.
Once you know what the identifier is, we can use a low level tool called DD.
sudo dd if=/dev/zero of=/dev/<your drive here> bs=512 count=1
This will completely nuke the drive, including any bytes heading the front or the back of it. This is the only real sure method of completely erasing a disk after a crash like you had.
Dont partition it after this, leave it unpartitioned.
We could just hash the current ISO with the expected sha256 of the repo but thats too complicated to explain while smoking so we’re just going to remove gnome from the equation entirely. Gnome has been having its own issues so its also kinda possible gnome itself might be the culprit.
Grab a copy of the KDE installer for Nix 24.11 >> https://channels.nixos.org/nixos-24.11/latest-nixos-plasma6-x86_64-linux.iso
With the usb /dev/path , we are going to use DD again to write the iso out to the drive directly instead of partitioning and flashing.
as root, or sudo
dd if=/path/to/nixos-plasma6.iso of=/dev/<your drive here> bs=1M conv=sync status="progress"
This will take a while to complete, you might be tempted to check on it, or tinker with it, or whatever.
Dont. Its not stuck, it will finish. Give it time. Trust the process.
This also sets boot flags, renames the disk and resizes it at the same time so no other work is required at this point.
Plug it into the problem PC, boot into the stick, and run the installer again.
This time run with the defaults, all defaults. Dont run any customization or enable the btrfs system. Just install, and then boot into the new system.
Run your stability test again, tinker with firefox whatever and see if the problem persists.
EDIT: Side thought, are you dual booting or is the nix drive a completely separate drive? And is it an NVMe, SATA SSD, or NGFF SATA SSD?