I tried to biuld my entire system with native optimizations enabled:
nixpkgs = {
hostPlatform = {
gcc.arch = "skylake";
gcc.tune = "skylake";
system = "x86_64-linux";
};
};
I forgot to limit the jobs of nixos-rebuild
and this led to my load average exceeding 100, and my system froze probably because it ran out of memory. After waiting a while I force-rebooted my PC, and ever since my PC stops before starting SDDM. The last messages are:
If I disable SDDM and use the default NixOS login screen, it doesn’t show theese messages however hyprland does not launch after logging in. I can launch hyprland manually by running exec systemd-cat -t uwsm_start uwsm start default
My best guess is that something is corrupted somewhere due to the force-reboot during a rebuild. However I don’t know what, where or how to fix it.
I have since removed the settings from nixpkgs, rebuilding and running old configurations don’t work either.