From c8a01f9753cc0c074c08855c9a2cb87ed75f369c Mon Sep 17 00:00:00 2001 From: Mel Date: Tue, 22 Oct 2024 15:29:59 +0200 Subject: Simplify locale settings to fix Tailscale SSH Signed-off-by: Mel --- modules/locale.nix | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/modules/locale.nix b/modules/locale.nix index 2a4f45b..2c900c2 100644 --- a/modules/locale.nix +++ b/modules/locale.nix @@ -7,17 +7,22 @@ # Select internationalisation properties. i18n.defaultLocale = "en_US.UTF-8"; - i18n.extraLocaleSettings = { - LC_ADDRESS = "de_DE.UTF-8"; - LC_IDENTIFICATION = "de_DE.UTF-8"; - LC_MEASUREMENT = "de_DE.UTF-8"; - LC_MONETARY = "de_DE.UTF-8"; - LC_NAME = "de_DE.UTF-8"; - LC_NUMERIC = "de_DE.UTF-8"; - LC_PAPER = "de_DE.UTF-8"; - LC_TELEPHONE = "de_DE.UTF-8"; - LC_TIME = "de_DE.UTF-8"; - }; + # breaks tailscale ssh with constant + # "cannot change locale" messages when connecting. + # there may be a way to use these anyway... + # i18n.extraLocaleSettings = { + # LC_ADDRESS = "de_DE.UTF-8"; + # LC_IDENTIFICATION = "de_DE.UTF-8"; + # LC_MEASUREMENT = "de_DE.UTF-8"; + # LC_MONETARY = "de_DE.UTF-8"; + # LC_NAME = "de_DE.UTF-8"; + # LC_NUMERIC = "de_DE.UTF-8"; + # LC_PAPER = "de_DE.UTF-8"; + # LC_TELEPHONE = "de_DE.UTF-8"; + # LC_TIME = "de_DE.UTF-8"; + # }; + + i18n.supportedLocales = [ "all" ]; # Configure keymap in X11 services.xserver.xkb = { -- cgit 1.4.1