From e5abe29608ac27e9d512e8ab5677420c52dcbcca Mon Sep 17 00:00:00 2001 From: RGBCube Date: Wed, 17 Jan 2024 18:09:07 +0300 Subject: [PATCH] Adjust extra locale settings --- modules/localisation.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/modules/localisation.nix b/modules/localisation.nix index 413d6ac..2c2899e 100644 --- a/modules/localisation.nix +++ b/modules/localisation.nix @@ -1,9 +1,12 @@ -{ ulib, ... }: with ulib; +{ ulib, ... }: with ulib; merge3 -systemConfiguration { +(systemConfiguration { console.keyMap = "trq"; +}) + +(desktopSystemConfiguration { + i18n.defaultLocale = "en_US.UTF-8"; - i18n.defaultLocale = "en_US.UTF-8"; i18n.extraLocaleSettings = let locale = "tr_TR.UTF-8"; in { @@ -17,4 +20,8 @@ systemConfiguration { LC_TELEPHONE = locale; LC_TIME = locale; }; -} +}) + +(serverSystemConfiguration { + i18n.defaultLocale = "C.UTF-8"; +})