summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorAlan Pearce2017-09-09 14:57:39 +0200
committerAlan Pearce2017-09-09 16:49:30 +0200
commitcf85d19331d519f99ffd8652b6a279acfaa3f9be (patch)
tree7fa06fd9b749b49af036bc8bf499ba64b7d731f8 /modules
parent2a7fdeb9dfa214e1eef0b7cdabc970b69e65c25d (diff)
downloadnixfiles-cf85d19331d519f99ffd8652b6a279acfaa3f9be.tar.lz
nixfiles-cf85d19331d519f99ffd8652b6a279acfaa3f9be.tar.zst
nixfiles-cf85d19331d519f99ffd8652b6a279acfaa3f9be.zip
Add colemak module
Diffstat (limited to 'modules')
-rw-r--r--modules/colemak.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/colemak.nix b/modules/colemak.nix
new file mode 100644
index 00000000..53a4901e
--- /dev/null
+++ b/modules/colemak.nix
@@ -0,0 +1,17 @@
+{ config, pkgs, ... }:
+
+{ i18n.consoleKeyMap = "colemak/en-latin9";
+  kmscon = {
+    extraConfig = ''
+      xkb-model=pc104
+      xkb-layout=us
+      xkb-variant=colemak
+      xkb-options="altwin:prtsc_rwin"
+    '';
+  };
+  xserver = {
+    layout = "us,us";
+    xkbVariant = "colemak,";
+    xkbOptions = "grp:shifts_toggle,altwin:prtsc_rwin";
+  };
+}