Nixos-generate-config generating not detected; nixos-rebuild switch ending at sysinit reactivation

Earlier I mistakenly stopped nixos-rebuild in the middle. Since then nixos-rebuild ends on the line
restarting sysinit-reactivation.target
I tried running nixos-generate-config, but when I checked my configuration, the hardware configuration was changed from the one specific to my computer to the not-detected.nix file. Also after rebooting, my mouse cursor is a square (the texture is missing).

What to do now?

Share your config, and run journalctl -f during your rebuild and share the logs. Rebooting and sharing journalctl --boot would be nice too.

You can probably just reset to an older generation if you roughly know when things started going wrong. Switching to a different generation is an atomic operation, so you’re not in some half-completed state or anything, your new config is just broken; the activation script fails halfway through (which is why I’d like to see your logs, they will tell us what fails).

I’d recommend keeping your config in git in the future so you know what changes you made.

And don’t worry about the not-detected thing, aiui that is expected on bare metal, it only “detects” VMs and such, on bare metal that module is imported to cover any “not-detected” hardware, regardless of whether it understands anything else about your system. You only need to watch out that it didn’t mess with your filesystem association, but normally that’s fine.

Unless you edited the file by hand of course, in which case you’ll need to re-add that configuration, but to a different file this time.

I don’t think the problem is in the configuration. I was just changing between cinnamon and gnome and just pressed ctrl-c by accident. I have gone back to two different earlier generations and the same can be said. Rebuilding ends abruptly and getting the config doesn’t work.

Journal during rebuilding

building Nix...
building the system configuration...
updating GRUB 2 menu...
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
lsblk: /dev/mapper/no*[0-9]: not a block device
lsblk: /dev/mapper/raid*[0-9]: not a block device
lsblk: /dev/mapper/disks*[0-9]: not a block device
activating the configuration...
setting up /etc...
reloading user units for betterthannothin...
restarting sysinit-reactivation.target
the following new units were started: sysinit-reactivation.target, systemd-tmpfiles-resetup.service

Journal during Boot (there’s more but this is the start)

Dec 23 03:11:56 nixos kernel: microcode: updated early: 0xec -> 0xf0, date = 2021-11-12
Dec 23 03:11:56 nixos kernel: Linux version 6.6.36 (nixbld@localhost) (gcc (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1-NixOS SMP PREEMPT_DYNAMIC Thu Jun 27 11:49:15 UTC 2024
Dec 23 03:11:56 nixos kernel: Command line: BOOT_IMAGE=(hd0,msdos1)/nix/store/vyi5pb0gcyy86d6skivwkc66h2h92gvz-linux-6.6.36/bzImage init=/nix/store/nr6xz55fk0n0p3na5vp273s0dza02d4h-nixos-system-nixos-24.05.2355.d032c1a6dfad/init loglevel=4
Dec 23 03:11:56 nixos kernel: BIOS-provided physical RAM map:
Dec 23 03:11:56 nixos kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009cfff] usable
Dec 23 03:11:56 nixos kernel: BIOS-e820: [mem 0x000000000009d000-0x000000000009ffff] reserved
Dec 23 03:11:56 nixos kernel: BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
Dec 23 03:11:56 nixos kernel: BIOS-e820: [mem 0x0000000000100000-0x00000000b9036fff] usable
Dec 23 03:11:56 nixos kernel: BIOS-e820: [mem 0x00000000b9037000-0x00000000cbf04fff] reserved
Dec 23 03:11:56 nixos kernel: BIOS-e820: [mem 0x00000000cbf05000-0x00000000cbf05fff] ACPI NVS
Dec 23 03:11:56 nixos kernel: BIOS-e820: [mem 0x00000000cbf06000-0x00000000d7f7efff] reserved
Dec 23 03:11:56 nixos kernel: BIOS-e820: [mem 0x00000000d7f7f000-0x00000000d7fcefff] ACPI NVS
Dec 23 03:11:56 nixos kernel: BIOS-e820: [mem 0x00000000d7fcf000-0x00000000d7ffefff] ACPI data
Dec 23 03:11:56 nixos kernel: BIOS-e820: [mem 0x00000000d7fff000-0x00000000d80fffff] reserved
Dec 23 03:11:56 nixos kernel: BIOS-e820: [mem 0x00000000d8600000-0x00000000dc7fffff] reserved
Dec 23 03:11:56 nixos kernel: BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved
Dec 23 03:11:56 nixos kernel: BIOS-e820: [mem 0x00000000fd000000-0x00000000fe7fffff] reserved
Dec 23 03:11:56 nixos kernel: BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
Dec 23 03:11:56 nixos kernel: BIOS-e820: [mem 0x00000000fed00000-0x00000000fed00fff] reserved
Dec 23 03:11:56 nixos kernel: BIOS-e820: [mem 0x00000000fed10000-0x00000000fed19fff] reserved
Dec 23 03:11:56 nixos kernel: BIOS-e820: [mem 0x00000000fed84000-0x00000000fed84fff] reserved
Dec 23 03:11:56 nixos kernel: BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
Dec 23 03:11:56 nixos kernel: BIOS-e820: [mem 0x00000000ff800000-0x00000000ffffffff] reserved
Dec 23 03:11:56 nixos kernel: BIOS-e820: [mem 0x0000000100000000-0x00000002217fffff] usable
Dec 23 03:11:56 nixos kernel: NX (Execute Disable) protection: active
Dec 23 03:11:56 nixos kernel: APIC: Static calls initialized
Dec 23 03:11:56 nixos kernel: SMBIOS 2.8 present.
Dec 23 03:11:56 nixos kernel: DMI: LENOVO 20F5S2Q500/20F5S2Q500, BIOS R02ET77W (1.50 ) 01/18/2023
Dec 23 03:11:56 nixos kernel: tsc: Detected 2500.000 MHz processor
Dec 23 03:11:56 nixos kernel: tsc: Detected 2499.952 MHz TSC
Dec 23 03:11:56 nixos kernel: e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
Dec 23 03:11:56 nixos kernel: e820: remove [mem 0x000a0000-0x000fffff] usable
Dec 23 03:11:56 nixos kernel: last_pfn = 0x221800 max_arch_pfn = 0x400000000
Dec 23 03:11:56 nixos kernel: MTRR map: 4 entries (3 fixed + 1 variable; max 23), built from 10 variable MTRRs
Dec 23 03:11:56 nixos kernel: x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
Dec 23 03:11:56 nixos kernel: last_pfn = 0xb9037 max_arch_pfn = 0x400000000
Dec 23 03:11:56 nixos kernel: Using GB pages for direct mapping
Dec 23 03:11:56 nixos kernel: RAMDISK: [mem 0x35a8d000-0x36d3dfff]
Dec 23 03:11:56 nixos kernel: ACPI: Early table checksum verification disabled
Dec 23 03:11:56 nixos kernel: ACPI: RSDP 0x00000000000F0120 000024 (v02 LENOVO)
Dec 23 03:11:56 nixos kernel: ACPI: XSDT 0x00000000D7FD0188 0000D4 (v01 LENOVO TP-R02   00000000 PTEC 00000002)
Dec 23 03:11:56 nixos kernel: ACPI: FACP 0x00000000D7FF4000 0000F4 (v05 LENOVO TP-R02   00001500 PTEC 00000002)
Dec 23 03:11:56 nixos kernel: ACPI: DSDT 0x00000000D7FDD000 012402 (v02 LENOVO TP-R02   00001500 INTL 20141107)
Dec 23 03:11:56 nixos kernel: ACPI: FACS 0x00000000D7F9B000 000040
Dec 23 03:11:56 nixos kernel: ACPI: TCPA 0x00000000D7FFC000 000032 (v02 LENOVO TP-R02   00000002 PTEC 00000002)
Dec 23 03:11:56 nixos kernel: ACPI: SSDT 0x00000000D7FFB000 0003A2 (v02 LENOVO TcgTable 00001000 INTL 20141107)
Dec 23 03:11:56 nixos kernel: ACPI: UEFI 0x00000000D7FB1000 000042 (v01 LENOVO TP-R02   00001500 PTEC 00000002)
Dec 23 03:11:56 nixos kernel: ACPI: SSDT 0x00000000D7FF6000 004E75 (v02 LENOVO SaSsdt   00003000 INTL 20141107)
Dec 23 03:11:56 nixos kernel: ACPI: SSDT 0x00000000D7FF5000 0005C5 (v02 LENOVO PerfTune 00001000 INTL 20141107)
Dec 23 03:11:56 nixos kernel: ACPI: ECDT 0x00000000D7FF3000 000052 (v01 LENOVO TP-R02   00001500 PTEC 00000002)
Dec 23 03:11:56 nixos kernel: ACPI: HPET 0x00000000D7FF2000 000038 (v01 LENOVO TP-R02   00001500 PTEC 00000002)
Dec 23 03:11:56 nixos kernel: ACPI: APIC 0x00000000D7FF1000 0000BC (v03 LENOVO TP-R02   00001500 PTEC 00000002)
Dec 23 03:11:56 nixos kernel: ACPI: MCFG 0x00000000D7FF0000 00003C (v01 LENOVO TP-R02   00001500 PTEC 00000002)
Dec 23 03:11:56 nixos kernel: ACPI: SSDT 0x00000000D7FDB000 0018D2 (v01 LENOVO SataAhci 00001000 INTL 20141107)
Dec 23 03:11:56 nixos kernel: ACPI: DBGP 0x00000000D7FDA000 000034 (v01 LENOVO TP-R02   00001500 PTEC 00000002)
Dec 23 03:11:56 nixos kernel: ACPI: DBG2 0x00000000D7FD9000 000054 (v00 LENOVO TP-R02   00001500 PTEC 00000002)
Dec 23 03:11:56 nixos kernel: ACPI: BOOT 0x00000000D7FD8000 000028 (v01 LENOVO TP-R02   00001500 PTEC 00000002)
Dec 23 03:11:56 nixos kernel: ACPI: BATB 0x00000000D7FD7000 00004A (v02 LENOVO TP-R02   00001500 PTEC 00000002)
Dec 23 03:11:56 nixos kernel: ACPI: SLIC 0x00000000D7FD6000 000176 (v01 LENOVO TP-R02   00001500 PTEC 00000002)
Dec 23 03:11:56 nixos kernel: ACPI: SSDT 0x00000000D7FD5000 000E73 (v02 LENOVO CpuSsdt  00003000 INTL 20141107)
Dec 23 03:11:56 nixos kernel: ACPI: SSDT 0x00000000D7FD4000 0003D9 (v02 LENOVO CtdpB    00001000 INTL 20141107)
Dec 23 03:11:56 nixos kernel: ACPI: MSDM 0x00000000D7FD3000 000055 (v03 LENOVO TP-R02   00001500 PTEC 00000002)
Dec 23 03:11:56 nixos kernel: ACPI: ASF! 0x00000000D7FD2000 0000A5 (v32 LENOVO TP-R02   00001500 PTEC 00000002)
Dec 23 03:11:56 nixos kernel: ACPI: FPDT 0x00000000D7FD1000 000044 (v01 LENOVO TP-R02   00001500 PTEC 00000002)
Dec 23 03:11:56 nixos kernel: ACPI: UEFI 0x00000000D7F99000 00013E (v01 LENOVO TP-R02   00001500 PTEC 00000002)
Dec 23 03:11:56 nixos kernel: ACPI: Reserving FACP table memory at [mem 0xd7ff4000-0xd7ff40f3]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving DSDT table memory at [mem 0xd7fdd000-0xd7fef401]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving FACS table memory at [mem 0xd7f9b000-0xd7f9b03f]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving TCPA table memory at [mem 0xd7ffc000-0xd7ffc031]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving SSDT table memory at [mem 0xd7ffb000-0xd7ffb3a1]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving UEFI table memory at [mem 0xd7fb1000-0xd7fb1041]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving SSDT table memory at [mem 0xd7ff6000-0xd7ffae74]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving SSDT table memory at [mem 0xd7ff5000-0xd7ff55c4]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving ECDT table memory at [mem 0xd7ff3000-0xd7ff3051]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving HPET table memory at [mem 0xd7ff2000-0xd7ff2037]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving APIC table memory at [mem 0xd7ff1000-0xd7ff10bb]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving MCFG table memory at [mem 0xd7ff0000-0xd7ff003b]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving SSDT table memory at [mem 0xd7fdb000-0xd7fdc8d1]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving DBGP table memory at [mem 0xd7fda000-0xd7fda033]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving DBG2 table memory at [mem 0xd7fd9000-0xd7fd9053]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving BOOT table memory at [mem 0xd7fd8000-0xd7fd8027]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving BATB table memory at [mem 0xd7fd7000-0xd7fd7049]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving SLIC table memory at [mem 0xd7fd6000-0xd7fd6175]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving SSDT table memory at [mem 0xd7fd5000-0xd7fd5e72]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving SSDT table memory at [mem 0xd7fd4000-0xd7fd43d8]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving MSDM table memory at [mem 0xd7fd3000-0xd7fd3054]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving ASF! table memory at [mem 0xd7fd2000-0xd7fd20a4]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving FPDT table memory at [mem 0xd7fd1000-0xd7fd1043]
Dec 23 03:11:56 nixos kernel: ACPI: Reserving UEFI table memory at [mem 0xd7f99000-0xd7f9913d]
Dec 23 03:11:56 nixos kernel: No NUMA configuration found
Dec 23 03:11:56 nixos kernel: Faking a node at [mem 0x0000000000000000-0x00000002217fffff]
Dec 23 03:11:56 nixos kernel: NODE_DATA(0) allocated [mem 0x2217fa000-0x2217fffff]
Dec 23 03:11:56 nixos kernel: Zone ranges:
Dec 23 03:11:56 nixos kernel:   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
Dec 23 03:11:56 nixos kernel:   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
Dec 23 03:11:56 nixos kernel:   Normal   [mem 0x0000000100000000-0x00000002217fffff]
Dec 23 03:11:56 nixos kernel:   Device   empty
Dec 23 03:11:56 nixos kernel: Movable zone start for each node
Dec 23 03:11:56 nixos kernel: Early memory node ranges
Dec 23 03:11:56 nixos kernel:   node   0: [mem 0x0000000000001000-0x000000000009cfff]
Dec 23 03:11:56 nixos kernel:   node   0: [mem 0x0000000000100000-0x00000000b9036fff]
Dec 23 03:11:56 nixos kernel:   node   0: [mem 0x0000000100000000-0x00000002217fffff]
Dec 23 03:11:56 nixos kernel: Initmem setup node 0 [mem 0x0000000000001000-0x00000002217fffff]
Dec 23 03:11:56 nixos kernel: On node 0, zone DMA: 1 pages in unavailable ranges
Dec 23 03:11:56 nixos kernel: On node 0, zone DMA: 99 pages in unavailable ranges
Dec 23 03:11:56 nixos kernel: On node 0, zone Normal: 28617 pages in unavailable ranges
Dec 23 03:11:56 nixos kernel: On node 0, zone Normal: 26624 pages in unavailable ranges
Dec 23 03:11:56 nixos kernel: Reserving Intel graphics memory at [mem 0xda800000-0xdc7fffff]
Dec 23 03:11:56 nixos kernel: ACPI: PM-Timer IO Port: 0x1808
Dec 23 03:11:56 nixos kernel: ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
Dec 23 03:11:56 nixos kernel: ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
Dec 23 03:11:56 nixos kernel: ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
Dec 23 03:11:56 nixos kernel: ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1])
Dec 23 03:11:56 nixos kernel: ACPI: LAPIC_NMI (acpi_id[0x05] high edge lint[0x1])
Dec 23 03:11:56 nixos kernel: ACPI: LAPIC_NMI (acpi_id[0x06] high edge lint[0x1])
Dec 23 03:11:56 nixos kernel: ACPI: LAPIC_NMI (acpi_id[0x07] high edge lint[0x1])
Dec 23 03:11:56 nixos kernel: ACPI: LAPIC_NMI (acpi_id[0x08] high edge lint[0x1])
Dec 23 03:11:56 nixos kernel: IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-119
Dec 23 03:11:56 nixos kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
Dec 23 03:11:56 nixos kernel: ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
Dec 23 03:11:56 nixos kernel: ACPI: Using ACPI (MADT) for SMP configuration information
Dec 23 03:11:56 nixos kernel: ACPI: HPET id: 0x8086a201 base: 0xfed00000
Dec 23 03:11:56 nixos kernel: TSC deadline timer available
Dec 23 03:11:56 nixos kernel: smpboot: Allowing 4 CPUs, 0 hotplug CPUs
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0x0009d000-0x0009ffff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0x000a0000-0x000dffff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0x000e0000-0x000fffff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xb9037000-0xcbf04fff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xcbf05000-0xcbf05fff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xcbf06000-0xd7f7efff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xd7f7f000-0xd7fcefff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xd7fcf000-0xd7ffefff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xd7fff000-0xd80fffff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xd8100000-0xd85fffff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xd8600000-0xdc7fffff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xdc800000-0xf7ffffff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xf8000000-0xfbffffff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xfc000000-0xfcffffff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xfd000000-0xfe7fffff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xfe800000-0xfebfffff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xfec00000-0xfec00fff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xfec01000-0xfecfffff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xfed00000-0xfed00fff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xfed01000-0xfed0ffff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xfed10000-0xfed19fff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xfed1a000-0xfed83fff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xfed84000-0xfed84fff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xfed85000-0xfedfffff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xfee00000-0xfee00fff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xfee01000-0xff7fffff]
Dec 23 03:11:56 nixos kernel: PM: hibernation: Registered nosave memory: [mem 0xff800000-0xffffffff]
Dec 23 03:11:56 nixos kernel: [mem 0xdc800000-0xf7ffffff] available for PCI devices
Dec 23 03:11:56 nixos kernel: Booting paravirtualized kernel on bare hardware
Dec 23 03:11:56 nixos kernel: clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
Dec 23 03:11:56 nixos kernel: setup_percpu: NR_CPUS:384 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
Dec 23 03:11:56 nixos kernel: percpu: Embedded 84 pages/cpu s221184 r8192 d114688 u524288
Dec 23 03:11:56 nixos kernel: pcpu-alloc: s221184 r8192 d114688 u524288 alloc=1*2097152
Dec 23 03:11:56 nixos kernel: pcpu-alloc: [0] 0 1 2 3 
Dec 23 03:11:56 nixos kernel: Kernel command line: BOOT_IMAGE=(hd0,msdos1)/nix/store/vyi5pb0gcyy86d6skivwkc66h2h92gvz-linux-6.6.36/bzImage init=/nix/store/nr6xz55fk0n0p3na5vp273s0dza02d4h-nixos-system-nixos-24.05.2355.d032c1a6dfad/init loglevel=4
Dec 23 03:11:56 nixos kernel: Unknown kernel command line parameters "BOOT_IMAGE=(hd0,msdos1)/nix/store/vyi5pb0gcyy86d6skivwkc66h2h92gvz-linux-6.6.36/bzImage", will be passed to user space.
Dec 23 03:11:56 nixos kernel: random: crng init done
Dec 23 03:11:56 nixos kernel: Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
Dec 23 03:11:56 nixos kernel: Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
Dec 23 03:11:56 nixos kernel: Fallback order for Node 0: 0 
Dec 23 03:11:56 nixos kernel: Built 1 zonelists, mobility grouping on.  Total pages: 1912982
Dec 23 03:11:56 nixos kernel: Policy zone: Normal
Dec 23 03:11:56 nixos kernel: mem auto-init: stack:all(zero), heap alloc:off, heap free:off
Dec 23 03:11:56 nixos kernel: software IO TLB: area num 4.
Dec 23 03:11:56 nixos kernel: Memory: 7505660K/7774028K available (14336K kernel code, 2364K rwdata, 10820K rodata, 3092K init, 4560K bss, 268108K reserved, 0K cma-reserved)
Dec 23 03:11:56 nixos kernel: SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Dec 23 03:11:56 nixos kernel: Kernel/User page tables isolation: enabled
Dec 23 03:11:56 nixos kernel: ftrace: allocating 42735 entries in 167 pages
Dec 23 03:11:56 nixos kernel: ftrace: allocated 167 pages with 5 groups
Dec 23 03:11:56 nixos kernel: Dynamic Preempt: voluntary
Dec 23 03:11:56 nixos kernel: rcu: Preemptible hierarchical RCU implementation.
Dec 23 03:11:56 nixos kernel: rcu:         RCU event tracing is enabled.
Dec 23 03:11:56 nixos kernel: rcu:         RCU restricting CPUs from NR_CPUS=384 to nr_cpu_ids=4.
Dec 23 03:11:56 nixos kernel:         Trampoline variant of Tasks RCU enabled.
Dec 23 03:11:56 nixos kernel:         Rude variant of Tasks RCU enabled.
Dec 23 03:11:56 nixos kernel:         Tracing variant of Tasks RCU enabled.
Dec 23 03:11:56 nixos kernel: rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
Dec 23 03:11:56 nixos kernel: rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
Dec 23 03:11:56 nixos kernel: NR_IRQS: 24832, nr_irqs: 1024, preallocated irqs: 16
Dec 23 03:11:56 nixos kernel: rcu: srcu_init: Setting srcu_struct sizes based on contention.
Dec 23 03:11:56 nixos kernel: kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____)
Dec 23 03:11:56 nixos kernel: Console: colour VGA+ 80x25
Dec 23 03:11:56 nixos kernel: printk: console [tty0] enabled
Dec 23 03:11:56 nixos kernel: ACPI: Core revision 20230628
Dec 23 03:11:56 nixos kernel: clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635855245 ns
Dec 23 03:11:56 nixos kernel: APIC: Switch to symmetric I/O mode setup
Dec 23 03:11:56 nixos kernel: x2apic: IRQ remapping doesn't support X2APIC mode
Dec 23 03:11:56 nixos kernel: ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
Dec 23 03:11:56 nixos kernel: clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x24090c9bc00, max_idle_ns: 440795288559 ns
Dec 23 03:11:56 nixos kernel: Calibrating delay loop (skipped), value calculated using timer frequency.. 4999.90 BogoMIPS (lpj=2499952)
Dec 23 03:11:56 nixos kernel: x86/cpu: VMX (outside TXT) disabled by BIOS
Dec 23 03:11:56 nixos kernel: x86/cpu: SGX disabled by BIOS.
Dec 23 03:11:56 nixos kernel: CPU0: Thermal monitoring enabled (TM1)
Dec 23 03:11:56 nixos kernel: process: using mwait in idle threads
Dec 23 03:11:56 nixos kernel: Last level iTLB entries: 4KB 64, 2MB 8, 4MB 8
Dec 23 03:11:56 nixos kernel: Last level dTLB entries: 4KB 64, 2MB 0, 4MB 0, 1GB 4
Dec 23 03:11:56 nixos kernel: Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization
Dec 23 03:11:56 nixos kernel: Spectre V2 : Mitigation: IBRS

Yeah, you’re only capturing the bit before the activation script runs there, could you share the rest? If you’re running into limits e.g. a gist would do.

Could you get that with -x as well? It’s not showing the units starting/stopping, so hard to see what’s happening - but from a glance that’s all working fine, just not doing much since nothing changed.

Anything string in particular you’re looking for in the boot?

Here’s from the switch.

Dec 23 08:30:21 nixos sudo[4033]: betterthannothin : TTY=pts/1 ; PWD=/home/betterthannothin ; USER=root ; COMMAND=/run/current-system/sw/bin/nixos-rebuild switch
Dec 23 08:30:21 nixos sudo[4033]: pam_unix(sudo:session): session opened for user root(uid=0) by betterthannothin(uid=1000)
Dec 23 08:30:37 nixos cupsd[1038]: Saving subscriptions.conf...
Dec 23 08:30:37 nixos sudo[4059]:     root : TTY=pts/3 ; PWD=/home/betterthannothin ; USER=root ; COMMAND=/tmp/nixos-rebuild.fUkhAH/nix/bin/nix-env -p /nix/var/nix/profiles/system --set /nix/store/nr6xz55fk0n0p3na5vp273s0dza02d4h-nixos-system-nixos-24.05.2355.d032c1a6dfad
Dec 23 08:30:37 nixos sudo[4059]: pam_unix(sudo:session): session opened for user root(uid=0) by betterthannothin(uid=0)
Dec 23 08:30:37 nixos sudo[4059]: pam_unix(sudo:session): session closed for user root
Dec 23 08:30:37 nixos sudo[4064]:     root : TTY=pts/3 ; PWD=/home/betterthannothin ; USER=root ; COMMAND=/run/current-system/sw/bin/systemd-run -E LOCALE_ARCHIVE -E NIXOS_INSTALL_BOOTLOADER= --collect --no-ask-password --pipe --quiet --same-dir --service-type=exec --unit=nixos-rebuild-switch-to-configuration --wait true
Dec 23 08:30:37 nixos sudo[4064]: pam_unix(sudo:session): session opened for user root(uid=0) by betterthannothin(uid=0)
Dec 23 08:30:37 nixos systemd[1]: Starting /nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin/true...
░░ Subject: A start job for unit nixos-rebuild-switch-to-configuration.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit nixos-rebuild-switch-to-configuration.service has begun execution.
░░ 
░░ The job identifier is 2118.
Dec 23 08:30:37 nixos systemd[1]: nixos-rebuild-switch-to-configuration.service: Deactivated successfully.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit nixos-rebuild-switch-to-configuration.service has successfully entered the 'dead' state.
Dec 23 08:30:37 nixos systemd[1]: Started /nix/store/ysqx2xfzygv2rxl7nxnw48276z5ckppn-coreutils-9.5/bin/true.
░░ Subject: A start job for unit nixos-rebuild-switch-to-configuration.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit nixos-rebuild-switch-to-configuration.service has finished successfully.
░░ 
░░ The job identifier is 2118.
Dec 23 08:30:37 nixos sudo[4064]: pam_unix(sudo:session): session closed for user root
Dec 23 08:30:37 nixos sudo[4072]:     root : TTY=pts/3 ; PWD=/home/betterthannothin ; USER=root ; COMMAND=/run/current-system/sw/bin/systemd-run -E LOCALE_ARCHIVE -E NIXOS_INSTALL_BOOTLOADER= --collect --no-ask-password --pipe --quiet --same-dir --service-type=exec --unit=nixos-rebuild-switch-to-configuration --wait /nix/store/nr6xz55fk0n0p3na5vp273s0dza02d4h-nixos-system-nixos-24.05.2355.d032c1a6dfad/bin/switch-to-configuration switch
Dec 23 08:30:37 nixos sudo[4072]: pam_unix(sudo:session): session opened for user root(uid=0) by betterthannothin(uid=0)
Dec 23 08:30:37 nixos systemd[1]: Starting /nix/store/nr6xz55fk0n0p3na5vp273s0dza02d4h-nixos-system-nixos-24.05.2355.d032c1a6dfad/bin/switch-to-configuration switch...
░░ Subject: A start job for unit nixos-rebuild-switch-to-configuration.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit nixos-rebuild-switch-to-configuration.service has begun execution.
░░ 
░░ The job identifier is 2169.
Dec 23 08:30:37 nixos systemd[1]: Started /nix/store/nr6xz55fk0n0p3na5vp273s0dza02d4h-nixos-system-nixos-24.05.2355.d032c1a6dfad/bin/switch-to-configuration switch.
░░ Subject: A start job for unit nixos-rebuild-switch-to-configuration.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit nixos-rebuild-switch-to-configuration.service has finished successfully.
░░ 
░░ The job identifier is 2169.
Dec 23 08:30:38 nixos .os-prober-wrapped[4194]: debug: running /nix/store/affimmc5x4kj5brjaw2bxvpkwdii934z-os-prober-1.81/lib/os-probes/50mounted-tests on /dev/mapper/no*[0-9]
Dec 23 08:30:38 nixos 50mounted-tests[4202]: debug: /dev/mapper/no*[0-9] type not recognised; skipping
Dec 23 08:30:38 nixos .os-prober-wrapped[4203]: debug: os detected by /nix/store/affimmc5x4kj5brjaw2bxvpkwdii934z-os-prober-1.81/lib/os-probes/50mounted-tests
Dec 23 08:30:38 nixos .os-prober-wrapped[4208]: debug: running /nix/store/affimmc5x4kj5brjaw2bxvpkwdii934z-os-prober-1.81/lib/os-probes/50mounted-tests on /dev/mapper/raid*[0-9]
Dec 23 08:30:38 nixos 50mounted-tests[4216]: debug: /dev/mapper/raid*[0-9] type not recognised; skipping
Dec 23 08:30:38 nixos .os-prober-wrapped[4217]: debug: os detected by /nix/store/affimmc5x4kj5brjaw2bxvpkwdii934z-os-prober-1.81/lib/os-probes/50mounted-tests
Dec 23 08:30:38 nixos .os-prober-wrapped[4222]: debug: running /nix/store/affimmc5x4kj5brjaw2bxvpkwdii934z-os-prober-1.81/lib/os-probes/50mounted-tests on /dev/mapper/disks*[0-9]
Dec 23 08:30:38 nixos 50mounted-tests[4230]: debug: /dev/mapper/disks*[0-9] type not recognised; skipping
Dec 23 08:30:38 nixos .os-prober-wrapped[4231]: debug: os detected by /nix/store/affimmc5x4kj5brjaw2bxvpkwdii934z-os-prober-1.81/lib/os-probes/50mounted-tests
Dec 23 08:30:38 nixos nixos[4077]: switching to system configuration /nix/store/nr6xz55fk0n0p3na5vp273s0dza02d4h-nixos-system-nixos-24.05.2355.d032c1a6dfad
Dec 23 08:30:38 nixos systemd[1]: Stopped target Local File Systems.
░░ Subject: A stop job for unit local-fs.target has finished
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A stop job for unit local-fs.target has finished.
░░ 
░░ The job identifier is 2220 and the job result is done.
Dec 23 08:30:38 nixos systemd[1]: Stopped target Remote File Systems.
░░ Subject: A stop job for unit remote-fs.target has finished
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A stop job for unit remote-fs.target has finished.
░░ 
░░ The job identifier is 2221 and the job result is done.
Dec 23 08:30:38 nixos .tracker-miner-[2464]: Could not launch metadata extractor: Failed to execute child process “/nix/store/h6riwpl57xrysa3imjz2v2fraa4bmjaw-tracker-miners-3.7.3/libexec/tracker-extract-3” (Permission denied)
Dec 23 08:30:38 nixos polkitd[928]: Reloading rules
Dec 23 08:30:38 nixos polkitd[928]: Collecting garbage unconditionally...
Dec 23 08:30:38 nixos polkitd[928]: Loading rules from directory /etc/polkit-1/rules.d
Dec 23 08:30:38 nixos polkitd[928]: Loading rules from directory /run/current-system/sw/share/polkit-1/rules.d
Dec 23 08:30:38 nixos polkitd[928]: Finished loading, compiling and executing 9 rules
Dec 23 08:30:38 nixos polkitd[928]: Reloading rules
Dec 23 08:30:38 nixos polkitd[928]: Collecting garbage unconditionally...
Dec 23 08:30:38 nixos polkitd[928]: Loading rules from directory /etc/polkit-1/rules.d
Dec 23 08:30:38 nixos polkitd[928]: Loading rules from directory /run/current-system/sw/share/polkit-1/rules.d
Dec 23 08:30:38 nixos polkitd[928]: Finished loading, compiling and executing 9 rules
Dec 23 08:30:38 nixos systemd[1]: Reloading requested from client PID 4297 ('systemctl') (unit nixos-rebuild-switch-to-configuration.service)...
Dec 23 08:30:38 nixos systemd[1]: Reloading...
Dec 23 08:30:38 nixos systemd-timesyncd[586]: Network configuration changed, trying to establish connection.
Dec 23 08:30:38 nixos systemd-timesyncd[586]: Network configuration changed, trying to establish connection.
Dec 23 08:30:39 nixos systemd[1]: /etc/systemd/system/cups.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/cups/cups.sock → /run/cups/cups.sock; please update the unit file accordingly.
Dec 23 08:30:39 nixos systemd[1]: Reloading finished in 258 ms.
Dec 23 08:30:39 nixos su[4410]: Successful su for betterthannothin by root
Dec 23 08:30:39 nixos su[4410]: pam_unix(su:session): session opened for user betterthannothin(uid=1000) by root(uid=0)
Dec 23 08:30:39 nixos systemd[1635]: Reexecuting requested from client PID 4413 ('systemctl')...
Dec 23 08:30:39 nixos systemd[1635]: Reexecuting.
Dec 23 08:30:39 nixos systemd-timesyncd[586]: Contacted time server 196.49.100.58:123 (0.nixos.pool.ntp.org).
Dec 23 08:30:39 nixos systemd[1635]: Starting Run user-specific NixOS activation...
░░ Subject: A start job for unit UNIT has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit UNIT has begun execution.
░░ 
░░ The job identifier is 483.
Dec 23 08:30:39 nixos systemd[1635]: Finished Run user-specific NixOS activation.
░░ Subject: A start job for unit UNIT has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit UNIT has finished successfully.
░░ 
░░ The job identifier is 483.
Dec 23 08:30:39 nixos su[4410]: pam_unix(su:session): session closed for user betterthannothin
Dec 23 08:30:39 nixos systemd[1]: Starting Re-setup tmpfiles on a system that is already running....
░░ Subject: A start job for unit systemd-tmpfiles-resetup.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit systemd-tmpfiles-resetup.service has begun execution.
░░ 
░░ The job identifier is 2224.
Dec 23 08:30:39 nixos systemd[1]: Finished Re-setup tmpfiles on a system that is already running..
░░ Subject: A start job for unit systemd-tmpfiles-resetup.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit systemd-tmpfiles-resetup.service has finished successfully.
░░ 
░░ The job identifier is 2224.
Dec 23 08:30:39 nixos systemd[1]: Reached target Reactivate sysinit units.
░░ Subject: A start job for unit sysinit-reactivation.target has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit sysinit-reactivation.target has finished successfully.
░░ 
░░ The job identifier is 2223.
Dec 23 08:30:39 nixos systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
░░ Subject: A start job for unit systemd-fsck-root.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit systemd-fsck-root.service has finished successfully.
░░ 
░░ The job identifier is 2504.
Dec 23 08:30:39 nixos systemd[1]: Reached target Local File Systems.
░░ Subject: A start job for unit local-fs.target has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit local-fs.target has finished successfully.
░░ 
░░ The job identifier is 2501.
Dec 23 08:30:39 nixos systemd[1]: Reached target Remote File Systems.
░░ Subject: A start job for unit remote-fs.target has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit remote-fs.target has finished successfully.
░░ 
░░ The job identifier is 2574.
Dec 23 08:30:39 nixos systemd[1]: Starting Load Kernel Module efi_pstore...
░░ Subject: A start job for unit modprobe@efi_pstore.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit modprobe@efi_pstore.service has begun execution.
░░ 
░░ The job identifier is 2741.
Dec 23 08:30:39 nixos systemd[1]: Starting Create SUID/SGID Wrappers...
░░ Subject: A start job for unit suid-sgid-wrappers.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit suid-sgid-wrappers.service has begun execution.
░░ 
░░ The job identifier is 2769.
Dec 23 08:30:39 nixos systemd[1]: Update Boot Loader Random Seed was skipped because no trigger condition checks were met.
░░ Subject: A start job for unit systemd-boot-random-seed.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit systemd-boot-random-seed.service has finished successfully.
░░ 
░░ The job identifier is 2752.
Dec 23 08:30:39 nixos systemd[1]: Rebuild Journal Catalog was skipped because of an unmet condition check (ConditionNeedsUpdate=/var).
░░ Subject: A start job for unit systemd-journal-catalog-update.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit systemd-journal-catalog-update.service has finished successfully.
░░ 
░░ The job identifier is 2776.
Dec 23 08:30:39 nixos systemd[1]: Update is Completed was skipped because no trigger condition checks were met.
░░ Subject: A start job for unit systemd-update-done.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit systemd-update-done.service has finished successfully.
░░ 
░░ The job identifier is 2761.
Dec 23 08:30:39 nixos systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit modprobe@efi_pstore.service has successfully entered the 'dead' state.
Dec 23 08:30:39 nixos systemd[1]: Finished Load Kernel Module efi_pstore.
░░ Subject: A start job for unit modprobe@efi_pstore.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit modprobe@efi_pstore.service has finished successfully.
░░ 
░░ The job identifier is 2741.
Dec 23 08:30:39 nixos systemd[1]: Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
░░ Subject: A start job for unit systemd-pstore.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit systemd-pstore.service has finished successfully.
░░ 
░░ The job identifier is 2738.
Dec 23 08:30:39 nixos systemd[1]: suid-sgid-wrappers.service: Deactivated successfully.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit suid-sgid-wrappers.service has successfully entered the 'dead' state.
Dec 23 08:30:39 nixos systemd[1]: Finished Create SUID/SGID Wrappers.
░░ Subject: A start job for unit suid-sgid-wrappers.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit suid-sgid-wrappers.service has finished successfully.
░░ 
░░ The job identifier is 2769.
Dec 23 08:30:39 nixos nixos[4077]: finished switching to system configuration /nix/store/nr6xz55fk0n0p3na5vp273s0dza02d4h-nixos-system-nixos-24.05.2355.d032c1a6dfad
Dec 23 08:30:39 nixos systemd[1]: nixos-rebuild-switch-to-configuration.service: Deactivated successfully.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit nixos-rebuild-switch-to-configuration.service has successfully entered the 'dead' state.
Dec 23 08:30:39 nixos systemd[1]: nixos-rebuild-switch-to-configuration.service: Consumed 1.312s CPU time, 50.8M memory peak, 0B memory swap peak, read 136.0K from disk, written 0B to disk, no IP traffic.
░░ Subject: Resources consumed by unit runtime
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit nixos-rebuild-switch-to-configuration.service completed and consumed the indicated resources.
Dec 23 08:30:39 nixos sudo[4072]: pam_unix(sudo:session): session closed for user root
Dec 23 08:30:39 nixos sudo[4033]: pam_unix(sudo:session): session closed for user root

Any failing units or other suspicious lines; but yeah, looking at those switch logs, everything’s working. Is your only visible issue the broken mouse cursor?

There are a couple of oddities in the logs but nothing unexpected given the situation. Here are a couple of select lines.

Dec 24 09:42:47 nixos kernel: x86/cpu: VMX (outside TXT) disabled by BIOS
Dec 24 09:42:47 nixos kernel: x86/cpu: SGX disabled by BIOS.
...
Dec 24 09:42:50 nixos kernel: Bluetooth: hci0: Reading supported features failed (-16)
...
Dec 24 09:43:08 nixos gdm-password][1460]: gkr-pam: unable to locate daemon control file
...
Dec 24 09:43:09 nixos gdm[1028]: Gdm: on_display_added: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
...
Dec 24 09:43:09 nixos systemd[1563]: Starting GNOME Session Manager (session: gnome)...
Dec 24 09:43:09 nixos .nm-applet-wrap[1646]: cannot open display: 
Dec 24 09:43:09 nixos systemd[1563]: nm-applet.service: Main process exited, code=exited, status=1/FAILURE
Dec 24 09:43:09 nixos systemd[1563]: nm-applet.service: Failed with result 'exit-code'.
Dec 24 09:43:09 nixos gnome-keyring-daemon[1665]: discover_other_daemon: 1
Dec 24 09:43:09 nixos systemd[1563]: app-gnome-gnome\x2dkeyring\x2dpkcs11-1656.scope: Couldn't move process 1656 to requested cgroup '/user.slice/user-1000.slice/user@1>
Dec 24 09:43:09 nixos gnome-keyring-pkcs11.desktop[1665]: discover_other_daemon: 1
Dec 24 09:43:09 nixos systemd[1563]: app-gnome-gnome\x2dkeyring\x2dpkcs11-1656.scope: Failed to add PIDs to scope's control group: No such process
Dec 24 09:43:09 nixos systemd[1563]: app-gnome-gnome\x2dkeyring\x2dpkcs11-1656.scope: Failed with result 'resources'.
Dec 24 09:43:09 nixos systemd[1563]: Failed to start Application launched by gnome-session-binary.
...
Dec 24 09:43:10 nixos .gnome-shell-wr[1674]: Could not issue 'GetUnit' systemd call
...
Dec 24 09:43:12 nixos .gsd-media-keys[1846]: Failed to grab accelerator for keybinding settings:hibernate
Dec 24 09:43:12 nixos .gsd-media-keys[1846]: Failed to grab accelerator for keybinding settings:playback-repeat
Dec 24 09:43:12 nixos rtkit-daemon[1093]: Successfully made thread 1703 of process 1674 owned by '1000' high priority at nice level 0.
Dec 24 09:43:12 nixos rtkit-daemon[1093]: Successfully made thread 1703 of process 1674 owned by '1000' RT at priority 20.
Dec 24 09:43:12 nixos .gnome-shell-wr[1674]: Could not issue 'GetUnit' systemd call
Dec 24 09:43:12 nixos systemd[1563]: Reached target GNOME session X11 services.
Dec 24 09:43:12 nixos .gnome-shell-wr[1674]: Failed to launch ibus-daemon: Failed to execute child process “ibus-daemon” (No such file or directory)
Dec 24 09:43:12 nixos pipewire[2079]: mod.jackdbus-detect: Failed to receive jackdbus reply: org.freedesktop.DBus.Error.ServiceUnknown: The name org.jackaudio.service w>
Dec 24 09:43:12 nixos systemd[1563]: Starting GNOME XSettings service...
Dec 24 09:43:12 nixos rtkit-daemon[1093]: Successfully made thread 2143 of process 2079 owned by '1000' RT at priority 20.
Dec 24 09:43:12 nixos gnome-shell[2146]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Dec 24 09:43:12 nixos gnome-shell[2146]: > Warning:          Unsupported maximum keycode 708, clipping.
Dec 24 09:43:12 nixos gnome-shell[2146]: >                   X11 cannot support keycodes above 255.
Dec 24 09:43:12 nixos gnome-shell[2146]: > Warning:          Could not resolve keysym XF86KbdInputAssistPrevgrou
Dec 24 09:43:12 nixos gnome-shell[2146]: > Warning:          Could not resolve keysym XF86KbdInputAssistNextgrou
Dec 24 09:43:12 nixos gnome-shell[2146]: Errors from xkbcomp are not fatal to the X server
Dec 24 09:43:12 nixos .gnome-shell-wr[1674]: GNOME Shell started at Tue Dec 24 2024 09:43:10 GMT-0500 (Eastern Standard Time)
Dec 24 09:43:12 nixos .gnome-shell-wr[1674]: Registering session with GDM
Dec 24 09:43:12 nixos .gnome-shell-wr[1078]: Connection to xwayland lost
Dec 24 09:43:12 nixos .gnome-shell-wr[1078]: Xwayland terminated, exiting since it was mandatory
Dec 24 09:43:12 nixos .gnome-shell-wr[1078]: (../src/core/meta-context.c:541):meta_context_terminate: runtime check failed: (priv->state == META_CONTEXT_STATE_RUNNING)
Dec 24 09:43:12 nixos .gnome-shell-wr[1078]: g_main_loop_is_running: assertion 'loop != NULL' failed
Dec 24 09:43:12 nixos .gnome-shell-wr[1078]: (../src/core/meta-context.c:542):meta_context_terminate: runtime check failed: (g_main_loop_is_running (priv->main_loop))
Dec 24 09:43:12 nixos .gnome-shell-wr[1078]: g_main_loop_quit: assertion 'loop != NULL' failed
Dec 24 09:43:12 nixos .gnome-shell-wr[1078]: Shutting down GNOME Shell
Dec 24 09:43:12 nixos cupsd[1025]: REQUEST localhost - - "POST / HTTP/1.1" 200 151 Cancel-Subscription successful-ok
Dec 24 09:43:12 nixos /nix/store/2v78dgddy5l70iy2p82yg4jyd7yxc889-gdm-46.2/libexec/gdm-wayland-session[1065]: dbus-daemon[1065]: [session uid=132 pid=1065] Activating s>
Dec 24 09:43:12 nixos systemd-logind[853]: Session c1 logged out. Waiting for processes to exit.
Dec 24 09:43:12 nixos polkitd[962]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.27, object path /org/freedesktop/PolicyKit1/Authentication>
Dec 24 09:43:12 nixos systemd[1]: session-c1.scope: Deactivated successfully.
Dec 24 09:43:12 nixos systemd[1]: session-c1.scope: Consumed 5.164s CPU time, no IP traffic.
Dec 24 09:43:12 nixos systemd-logind[853]: Removed session c1.
Dec 24 09:43:12 nixos gdm[1028]: Gdm: Child process -1060 was already dead.
Dec 24 09:43:12 nixos gdm[1028]: Gdm: on_display_removed: assertion 'GDM_IS_REMOTE_DISPLAY (display)' failed
Dec 24 09:43:12 nixos systemd[1563]: Started GNOME XSettings service.
Dec 24 09:43:12 nixos systemd[1563]: Reached target GNOME session X11 services.
Dec 24 09:43:12 nixos .gsd-media-keys[1846]: Unable to get default sink

Further, when I run nixos-rebuild for the first time after booting, the following lines are printed.
the following new units were started: sysinit-reactivation.target, systemd-tmpfiles-resetup.service

I tried, as a test, to switch my desktop environment to cinnamon from Gnome, and after running nixos-rebuild, the whole screen went black (I could type, but it wasn’t a terminal) and after hanging I pressed ctrl-c, and after hanging again, I shut down the computer. When I opened it again, cinnamon was working and the configuration was changed. I guess systemd is not being switched over properly.