From c0aedcdb2f1d3da403daabd7949b61eb2ffcb750 Mon Sep 17 00:00:00 2001 From: adikro Date: Sat, 15 Nov 2025 19:25:59 +0100 Subject: added fonts and localization --- hosts/desktop/configuration.nix | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) (limited to 'hosts/desktop/configuration.nix') diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix index 17dae8e..2b506ec 100644 --- a/hosts/desktop/configuration.nix +++ b/hosts/desktop/configuration.nix @@ -90,15 +90,26 @@ xdg.portal = { wlr.enable = true; }; -time.timeZone = "Europe/Warsaw"; - - # Select internationalisation properties. - # i18n.defaultLocale = "en_US.UTF-8"; - # console = { - # font = "Lat2-Terminus16"; - # keyMap = "pl"; - # useXkbConfig = true; # use xkb.options in tty. - # }; + time.timeZone = "Europe/Warsaw"; + + i18n.defaultLocale = "en_US.UTF-8"; + i18n.extraLocaleSettings = { + LC_TIME = "pl_PL.UTF-8"; + LC_NUMERIC = "pl_PL.UTF-8"; + LC_MONETARY = "pl_PL.UTF-8"; + LC_PAPER = "pl_PL.UTF-8"; + LC_MEASUREMENT = "pl_PL.UTF-8"; + LC_COLLATE = "pl_PL.UTF-8"; + LC_NAME = "pl_PL.UTF-8"; + LC_ADDRESS = "pl_PL.UTF-8"; + LC_TELEPHONE = "pl_PL.UTF-8"; + LC_IDENTIFICATION = "pl_PL.UTF-8"; + }; + + console = { + keyMap = "pl"; + font = "Lat2-Terminus16"; + }; environment.sessionVariables = { NH_FLAKE = "/etc/nixos"; -- cgit v1.3