Configure sddm to use kwin

This commit is contained in:
Manuel Thalmann 2024-05-20 20:37:16 +02:00
parent 5cac87b36f
commit 1b249f3de5

View file

@ -2,13 +2,18 @@
config = {
services.displayManager.sddm = lib.mkIf config.services.displayManager.sddm.wayland.enable {
settings.General.GreeterEnvironment = (
lib.concatStringsSep " " (
let
localeConf = config.i18n.extraLocaleSettings;
in
builtins.map
(name: "${name}=${localeConf.${name}}")
(builtins.attrNames localeConf)));
lib.concatStringsSep " " ((
let
localeConf = config.i18n.extraLocaleSettings;
in
builtins.map
(name: "${name}=${localeConf.${name}}")
(builtins.attrNames localeConf)
) ++ (
lib.optional config.services.desktopManager.plasma6.enable
"QT_WAYLAND_SHELL_INTEGRATION=layer-shell")));
wayland.compositor = lib.mkIf config.services.displayManager.sddm.wayland.enable "kwin";
};
};
}