i18n.localeCharsets

NixOS option

Per each i18n.extraLocaleSettings, choose the character set to use for it. Essentially defaults to UTF-8 for all of them. Note that for a locale category that uses the C locale, setting a character set to it via this setting is ignored.

type: attribute set of string
Default
{ }
Example
{
  LC_MESSAGES = "ISO-8859-15";
  LC_TIME = "ISO-8859-1";
}
declared in: nixos/modules/config/i18n.nixView source on NixOS/nixpkgs →