Configure sddm
language
This commit is contained in:
parent
47802f7450
commit
88b8bdc16b
2 changed files with 15 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
./modules/custom-build-vm.nix
|
||||
./modules/custom-sops-nix.nix
|
||||
./modules/my-users.nix
|
||||
./modules/sddm.nix
|
||||
];
|
||||
|
||||
config = {
|
||||
|
|
14
lib/modules/sddm.nix
Normal file
14
lib/modules/sddm.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ 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)));
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue