Configure sddm
to use kwin
This commit is contained in:
parent
5cac87b36f
commit
1b249f3de5
|
@ -2,13 +2,18 @@
|
||||||
config = {
|
config = {
|
||||||
services.displayManager.sddm = lib.mkIf config.services.displayManager.sddm.wayland.enable {
|
services.displayManager.sddm = lib.mkIf config.services.displayManager.sddm.wayland.enable {
|
||||||
settings.General.GreeterEnvironment = (
|
settings.General.GreeterEnvironment = (
|
||||||
lib.concatStringsSep " " (
|
lib.concatStringsSep " " ((
|
||||||
let
|
let
|
||||||
localeConf = config.i18n.extraLocaleSettings;
|
localeConf = config.i18n.extraLocaleSettings;
|
||||||
in
|
in
|
||||||
builtins.map
|
builtins.map
|
||||||
(name: "${name}=${localeConf.${name}}")
|
(name: "${name}=${localeConf.${name}}")
|
||||||
(builtins.attrNames localeConf)));
|
(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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue