Fix syntax errors
This commit is contained in:
parent
c7c81eaea3
commit
9332c72fb2
|
@ -1,6 +1,7 @@
|
|||
{ lib, config, ... }:
|
||||
let
|
||||
inherit (lib)
|
||||
mkOption
|
||||
types
|
||||
;
|
||||
|
||||
|
@ -8,13 +9,13 @@
|
|||
in {
|
||||
options = {
|
||||
i18n = {
|
||||
localeSettings = {
|
||||
localeSettings = mkOption {
|
||||
type = types.attrsOf types.str;
|
||||
description = "The system wide locale settings";
|
||||
default = {};
|
||||
};
|
||||
|
||||
locales = {
|
||||
locales = mkOption {
|
||||
type = types.listOf types.str;
|
||||
description = "The locales of the system";
|
||||
};
|
||||
|
@ -22,6 +23,6 @@
|
|||
};
|
||||
|
||||
config = {
|
||||
locales = builtins.attrValues cfg.localeSettings;
|
||||
i18n.locales = builtins.attrValues cfg.localeSettings;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue