blob: b79d3284e10a3f9eb268726a1b09a0de03e39170 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{
config,
lib,
...
}: let
cfg = config.getchoo.base.defaultLocale;
inherit (lib) mkEnableOption mkIf;
in {
options.getchoo.base.defaultLocale.enable = mkEnableOption "enable default locale";
config = mkIf cfg.enable {
i18n = {
supportedLocales = [
"en_US.UTF-8/UTF-8"
];
defaultLocale = "en_US.UTF-8";
};
time = {
hardwareClockInLocalTime = true;
timeZone = "America/New_York";
};
};
}
|