nixos/modules/base/locale.nix

24 lines
545 B
Nix
Raw Normal View History

2024-03-05 22:57:41 +01:00
{lib, ...}: {
2024-03-05 22:17:26 +01:00
i18n = {
defaultLocale = "en_DK.UTF-8";
extraLocaleSettings = {
LC_ADDRESS = "en_DK.UTF-8";
LC_IDENTIFICATION = "en_DK.UTF-8";
LC_MEASUREMENT = "en_DK.UTF-8";
LC_MONETARY = "en_DK.UTF-8";
LC_NAME = "en_DK.UTF-8";
LC_NUMERIC = "en_DK.UTF-8";
LC_PAPER = "en_DK.UTF-8";
LC_TELEPHONE = "en_DK.UTF-8";
LC_TIME = "en_DK.UTF-8";
};
supportedLocales = lib.mkOptionDefault [
"da_DK.UTF-8/UTF-8"
];
};
time = {
timeZone = "Europe/Copenhagen";
};
}