all repos — nixfiles @ cf85d19331d519f99ffd8652b6a279acfaa3f9be

System and user configuration, managed by nix and home-manager

Add colemak module
Alan Pearce alan@alanpearce.eu
Sat, 09 Sep 2017 14:57:39 +0200
commit

cf85d19331d519f99ffd8652b6a279acfaa3f9be

parent

2a7fdeb9dfa214e1eef0b7cdabc970b69e65c25d

2 files changed, 18 insertions(+), 0 deletions(-)

jump to
A 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";
+  };
+}
M satoshipad.nixsatoshipad.nix
@@ -14,6 +14,7 @@ ./modules/nitrokey.nix     ./modules/shell.nix
     ./modules/dotfiles.nix
     ./modules/berlin.nix
+    ./modules/colemak.nix
   ];
 
   networking.hostName = "satoshipad";