# The parts of the locale setup that do not depend on the machine. The host # sets the time zone, the default locale and the XKB layouts # (modules/hosts//host.nix); the console follows those layouts, and so # does Hyprland (modules/desktop/hyprland, through osConfig). { flake.modules.nixos.core = { # Russian stays available for apps and games even with an English UI. i18n.extraLocales = [ "ru_RU.UTF-8/UTF-8" ]; # TTY and initrd keymap follow the XKB layout set by the host. console.useXkbConfig = true; }; }