Skip to content

⚙ darkone.system.i18n

Location and lang configuration.

  • enable bool Enable i18n with network zone configuration by default
  • locale strMatching dnfLib.localeRegex Network locale, must match the xx_YY.UTF-8 shape.
  • timeZone str Network time zone
  • keyboard raw Keyboard of the locale: console keymap, xkb layout and xkbVariant.
darkone.system.i18n = {
enable = false;
locale = "fr_FR.UTF-8";
timeZone = "Europe/Paris";
keyboard = if cfg.enable then
dnfLib.keyboardFromLocale cfg.locale
else
{
console = config.console.keyMap;
xkb = config.console.keyMap;
xkbVariant = "";
};
};

Source: modules/system/i18n.nix 🡕