about summary refs log tree commit diff stats
path: root/system/locale/default.nix
diff options
context:
space:
mode:
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";
+  };
 }