Closed immindich closed 3 weeks ago
This is probably because of https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/misc/graphical-desktop.nix#L45 which is required for SDDM on Wayland where no xserver is started at all. The easiest fix is probably to set systemd.defaultUnit to multi-user.target.
Going to close this as won't fix. If you want to prevent a Wayland display manager from starting up, please change systemd.defaultUnit
Describe the bug
In stable, setting
services.xserver.autorun = false
in my NixOS config prevented my display manager from starting automatically. I could then start the display manager manually by runningsystemctl start display-manager.service
. I just upgraded to unstable and this no longer works. I think this may be because of this line in the xserver module.Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
System boots to the console.
Notify maintainers
@SuperSandro2000
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.