nixos/sddm: allow running on wayland without xserver enabled

This commit is contained in:
Sandro Jäckel 2024-02-27 09:59:17 +01:00
parent 0d3ab0d4ec
commit d220d8bb6f
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -281,9 +281,9 @@ in
assertions = [
{
assertion = xcfg.enable;
assertion = xcfg.enable || cfg.wayland.enable;
message = ''
SDDM requires services.xserver.enable to be true
SDDM requires either services.xserver.enable or services.xserver.displayManager.sddm.wayland.enable to be true
'';
}
{