Remove unnecessary config

This commit is contained in:
Manuel Thalmann 2024-07-09 02:23:23 +02:00
parent 52384e532a
commit ac965bfb98

View file

@ -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;
};
}