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, ... }: { lib, config, ... }:
let let
inherit (lib) inherit (lib)
mkOption
types types
; ;
@ -8,13 +9,13 @@
in { in {
options = { options = {
i18n = { i18n = {
localeSettings = { localeSettings = mkOption {
type = types.attrsOf types.str; type = types.attrsOf types.str;
description = "The system wide locale settings"; description = "The system wide locale settings";
default = {}; default = {};
}; };
locales = { locales = mkOption {
type = types.listOf types.str; type = types.listOf types.str;
description = "The locales of the system"; description = "The locales of the system";
}; };
@ -22,6 +23,6 @@
}; };
config = { config = {
locales = builtins.attrValues cfg.localeSettings; i18n.locales = builtins.attrValues cfg.localeSettings;
}; };
} }