nixos/sddm: don't set kwin related config if Wayland isn't enabled
This commit is contained in:
@@ -43,7 +43,7 @@ let
|
||||
DefaultSession = optionalString (config.services.displayManager.defaultSession != null) "${config.services.displayManager.defaultSession}.desktop";
|
||||
|
||||
DisplayServer = if cfg.wayland.enable then "wayland" else "x11";
|
||||
} // optionalAttrs (cfg.wayland.compositor == "kwin") {
|
||||
} // optionalAttrs (cfg.wayland.enable && cfg.wayland.compositor == "kwin") {
|
||||
GreeterEnvironment = "QT_WAYLAND_SHELL_INTEGRATION=layer-shell";
|
||||
InputMethod = ""; # needed if we are using --inputmethod with kwin
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user