about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2022-10-21 22:12:52 +0000
committerAlyssa Ross <hi@alyssa.is>2023-02-08 13:45:48 +0000
commit6c9e80baff1d398fcbd3e86b878257505977d855 (patch)
tree51c78fa01930daf65b591300ea80a712f984170e /modules
parent489b6e6ddf088b64aaf3cec2d76068210444f1c7 (diff)
downloadnixlib-6c9e80baff1d398fcbd3e86b878257505977d855.tar
nixlib-6c9e80baff1d398fcbd3e86b878257505977d855.tar.gz
nixlib-6c9e80baff1d398fcbd3e86b878257505977d855.tar.bz2
nixlib-6c9e80baff1d398fcbd3e86b878257505977d855.tar.lz
nixlib-6c9e80baff1d398fcbd3e86b878257505977d855.tar.xz
nixlib-6c9e80baff1d398fcbd3e86b878257505977d855.tar.zst
nixlib-6c9e80baff1d398fcbd3e86b878257505977d855.zip
modules: use canonical locale names
Required by recent NixOS.
Diffstat (limited to 'modules')
-rw-r--r--modules/server/default.nix2
-rw-r--r--modules/workstation/locale/default.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/server/default.nix b/modules/server/default.nix
index 6daf6dbb0e31..c18593260dfc 100644
--- a/modules/server/default.nix
+++ b/modules/server/default.nix
@@ -8,7 +8,7 @@
 
   networking.firewall.logRefusedConnections = false;
 
-  i18n.defaultLocale = "C.utf8";
+  i18n.defaultLocale = "C.UTF-8";
 
   environment.systemPackages = with pkgs; [ htop ncdu ];
 }
diff --git a/modules/workstation/locale/default.nix b/modules/workstation/locale/default.nix
index b485e5dc5771..c079ab19bc88 100644
--- a/modules/workstation/locale/default.nix
+++ b/modules/workstation/locale/default.nix
@@ -1,7 +1,7 @@
 { ... }:
 
 {
-  i18n.defaultLocale = "eo.utf8";
+  i18n.defaultLocale = "eo";
   i18n.extraLocaleSettings.LC_ADDRESS = "de_DE.UTF-8";
   i18n.extraLocaleSettings.LC_CTYPE = "de_DE.UTF-8";
   i18n.extraLocaleSettings.LC_NAME = "en_GB.UTF-8";