nixos-config/modules/workspace/locale.nix

20 lines
398 B
Nix
Raw Normal View History

2020-02-17 17:00:59 +04:00
{ pkgs, config, lib, ... }: {
i18n = {
defaultLocale = "en_GB.UTF-8";
consoleFont = "cyr-sun16";
consoleKeyMap = "ruwin_cplk-UTF-8";
};
time.timeZone = "Europe/Moscow"; # Mother Russia
home-manager.users.balsoft.home.language = let
en = "en_GB.UTF-8";
ru = "ru_RU.UTF-8";
in {
address = ru;
monetary = ru;
paper = ru;
time = en;
base = en;
};
}