summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2025-11-15 19:25:59 +0100
committeradikro <adikro@disroot.org>2025-11-15 19:25:59 +0100
commitc0aedcdb2f1d3da403daabd7949b61eb2ffcb750 (patch)
tree6fc73a1d9576b022cb2054c08291345892931c21 /hosts
parentd77aa6e7064d8e4c523fb9ec2fbeec4c79d30e61 (diff)
added fonts and localization
Diffstat (limited to 'hosts')
-rw-r--r--hosts/desktop/configuration.nix27
1 files changed, 19 insertions, 8 deletions
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";
+ 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.
- # };
+ 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";