blob: 60d338cbcd4b97b638a3af4c371ea86f0c687f64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ lib, options, ... }:
with lib;
{
config = foldr recursiveUpdate {} ([
{
i18n = {
defaultLocale = "en_DK.UTF-8";
extraLocaleSettings = {
"TIME_STYLE" = "long-iso";
};
};
console.keyMap = mkDefault "dvorak-programmer";
time.timeZone = mkDefault "Europe/Berlin";
}
] ++ (optional (options ? i18n.extraLocales) {
i18n.extraLocales = [ "C.UTF-8" "en_US.UTF-8" "en_DK.UTF-8" ];
}) ++ (optional (!(options ? i18n.extraLocales)) {
i18n.supportedLocales = [ "C.UTF-8/UTF-8" "en_US.UTF-8/UTF-8" "en_DK.UTF-8/UTF-8" ];
}));
}
|