Fix syntax errors

This commit is contained in:
Manuel Thalmann 2024-07-08 17:26:25 +02:00
parent c7c81eaea3
commit 9332c72fb2

View file

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