nixOS/modules/locale.nix

23 lines
552 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_IN";
LC_IDENTIFICATION = "en_IN";
LC_MEASUREMENT = "en_IN";
LC_MONETARY = "en_IN";
LC_NAME = "en_IN";
LC_NUMERIC = "en_IN";
LC_PAPER = "en_IN";
LC_TELEPHONE = "en_IN";
LC_TIME = "en_IN";
};
}