summary refs log tree commit diff
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2024-10-22 15:29:59 +0200
committerMel <einebeere@gmail.com>2024-10-22 15:29:59 +0200
commitc8a01f9753cc0c074c08855c9a2cb87ed75f369c (patch)
tree89cf2869ef6539edc2a1a108235451b8db45fad8
parent674b413133d8c434c1e050110d2e338183f2cf48 (diff)
downloadminerals-c8a01f9753cc0c074c08855c9a2cb87ed75f369c.tar.zst
minerals-c8a01f9753cc0c074c08855c9a2cb87ed75f369c.zip
Simplify locale settings to fix Tailscale SSH
Signed-off-by: Mel <einebeere@gmail.com>
-rw-r--r--modules/locale.nix27
1 files 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 = {