Remove unnecessary config
This commit is contained in:
parent
73d72c569e
commit
2de0d9a565
1 changed files with 1 additions and 12 deletions
|
@ -1,11 +1,9 @@
|
|||
{ lib, config, ... }:
|
||||
{ lib, ... }:
|
||||
let
|
||||
inherit (lib)
|
||||
mkOption
|
||||
types
|
||||
;
|
||||
|
||||
cfg = config.i18n;
|
||||
in {
|
||||
options = {
|
||||
i18n = {
|
||||
|
@ -14,15 +12,6 @@
|
|||
description = "The system wide locale settings";
|
||||
default = {};
|
||||
};
|
||||
|
||||
locales = mkOption {
|
||||
type = types.listOf types.str;
|
||||
description = "The locales of the system";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
i18n.locales = builtins.attrValues cfg.localeSettings;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue