nixOS/modules/locale.nix
Sergei Poljanski 4c2be3925d
locale: use en_IE for regional formats
Switch from en_IN to en_IE.UTF-8: European date, number and paper
conventions with English text.

Assisted-by: Claude:opus-5-5
2026-11-08 05:08:45 +04:00

23 lines
606 B
Nix

# Timezone and locale configuration
{ config, pkgs, lib, ... }:
{
# Let GNOME manage timezone via automatic location
time.timeZone = null;
services.automatic-timezoned.enable = true;
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "en_IE.UTF-8";
LC_IDENTIFICATION = "en_IE.UTF-8";
LC_MEASUREMENT = "en_IE.UTF-8";
LC_MONETARY = "en_IE.UTF-8";
LC_NAME = "en_IE.UTF-8";
LC_NUMERIC = "en_IE.UTF-8";
LC_PAPER = "en_IE.UTF-8";
LC_TELEPHONE = "en_IE.UTF-8";
LC_TIME = "en_IE.UTF-8";
};
}