about summary refs log tree commit diff stats
path: root/system/locale/default.nix
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-28 16:28:18 +0100
committerene <ene@sils.li>2023-02-28 16:28:18 +0100
commite3b5296e4e353ee583a0989e517a2997a4b07316 (patch)
tree652ab1029887cac398d9ebc627afb3e4c7ab19b5 /system/locale/default.nix
parentFix(hm/wms/river): Switch to foot (diff)
downloadnixos-config-e3b5296e4e353ee583a0989e517a2997a4b07316.tar.gz
nixos-config-e3b5296e4e353ee583a0989e517a2997a4b07316.zip
Fix(system): Switch to dvorak-programmer layout
Diffstat (limited to 'system/locale/default.nix')
-rw-r--r--system/locale/default.nix26
1 files changed, 12 insertions, 14 deletions
diff --git a/system/locale/default.nix b/system/locale/default.nix
index 2fcc2115..e93066be 100644
--- a/system/locale/default.nix
+++ b/system/locale/default.nix
@@ -1,3 +1,4 @@
+# vim: ts=2
 {
   config,
   pkgs,
@@ -7,20 +8,17 @@
   time.timeZone = "Europe/Berlin";
 
   # 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";
+  i18n = {
+    defaultLocale = "en_CA.UTF-8";
+    extraLocaleSettings = {
+      LANGUAGE="en_CA:en_US:en";
+      LC_TIME = "en_DK.UTF-8";
+      LC_COLLATE = "C.UTF-8";
+    };
   };
 
-  # Configure console keymap
-  console.keyMap = "dvorak";
+  # Layout
+  console = {
+    keyMap = "dvorak-programmer";
+  };
 }