NixOSConfig/lib/modules/sddm.nix

15 lines
442 B
Nix
Raw Permalink Normal View History

2024-05-07 20:31:56 +00:00
{ config, lib, ... }: {
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)));
};
};
}