diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2024-02-27 09:59:17 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2024-04-08 21:56:37 +0200 |
commit | d220d8bb6fa4b0c6c1275c1e9389b2210e13e32b (patch) | |
tree | 149bd4e5c0ea1a666c008657842dbd264158b920 /nixos/modules/services/display-managers | |
parent | 0d3ab0d4ece5941c4a2e5a7db4d6897375b0c27f (diff) |
nixos/sddm: allow running on wayland without xserver enabled
Diffstat (limited to 'nixos/modules/services/display-managers')
-rw-r--r-- | nixos/modules/services/display-managers/sddm.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/display-managers/sddm.nix b/nixos/modules/services/display-managers/sddm.nix index cf8892a816bd..750b35ba72aa 100644 --- a/nixos/modules/services/display-managers/sddm.nix +++ b/nixos/modules/services/display-managers/sddm.nix @@ -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 ''; } { |