M1N0RM1N3R / nixos-config

0 stars 1 forks source link

[CRITICAL] [BLOCKING] Config won't boot into SDDM or Plasma #1

Open M1N0RM1N3R opened 3 months ago

M1N0RM1N3R commented 3 months ago

Title.

Trying to use this config over the weekend was my first experience with NixOS outside of a virtual machine, and it wasn't just unpleasant--it was straight-up unusable.

After many hours of increasingly angry Googling and waiting for any sort of meaningful response to my questions from the NixOS Matrix chat on my Generation 1--still having yet to get this config to actually boot into SDDM and Plasma, or even let me start it from a TTY--I threw in the towel with a thud, and reinstalled and re-set up Pop!_OS on Sunday night so I could get actual work done instead oF spinning my wheels on a non-working NixOS config.

gepbird commented 3 months ago

Got into a TTY with your config, I modified some hardware related stuff (disable LUKS, change disk location to /dev/vde and similar), overall I made these changes: https://github.com/M1N0RM1N3R/nixos-config/commit/544b87fc485882a7dac9f15ccbd4a13fbc086bfe. In more details, I cloned the repo with the above changes onto a vm with NixOS installed, ran sudo nixos-rebuild boot .#aorus then rebooted.

2024-05-31_13-39

Indeed, SDDM doesn't boot, taking a look at journalctl -xeu display-manager shows the xserver error "no screens found": 2024-05-31_13-51

After removing nixos-hardware modules, SDDM is working. 2024-05-31_13-57

As I said before, make sure the basic hardware stuff are working (build your config with the bare metal generated /etc/nixos/hardware-configuration.nix, don't use the vm's hardware config). Then you should be able to get into a tty. If SDDM still doesn't boot, try messing with nixos-hardware.