summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--modules/colemak.nix17
-rw-r--r--satoshipad.nix1
2 files changed, 18 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";
+  };
+}
diff --git a/satoshipad.nix b/satoshipad.nix
index ed688e21..923a3b26 100644
--- a/satoshipad.nix
+++ b/satoshipad.nix
@@ -14,6 +14,7 @@
     ./modules/shell.nix
     ./modules/dotfiles.nix
     ./modules/berlin.nix
+    ./modules/colemak.nix
   ];
 
   networking.hostName = "satoshipad";