mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-12 23:48:25 +03:00
nixos/sddm: don't set kwin related config if Wayland isn't enabled
This commit is contained in:
parent
0dfb94dbdf
commit
094e80f6ff
@ -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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user