nix-config/nixos/_mixins/global/locale.nix

23 lines
599 B
Nix
Raw Normal View History

{ lib, ... }: {
2023-09-19 17:05:08 +00:00
# Select internationalisation properties.
i18n = {
defaultLocale = lib.mkDefault "en_US.UTF-8";
extraLocaleSettings = {
2023-09-19 17:05:08 +00:00
LC_ADDRESS = "en_US.UTF-8";
LC_IDENTIFICATION = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_NAME = "en_US.UTF-8";
LC_NUMERIC = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
LC_TELEPHONE = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
};
supportedLocales = lib.mkDefault [
"en_US.UTF-8/UTF-8"
];
};
2023-09-19 17:05:08 +00:00
time.timeZone = lib.mkDefault "America/New_York";
}