summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
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 0000000..53a4901
--- /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";
+  };
+}