diff options
author | Alan Pearce | 2017-09-09 14:57:39 +0200 |
---|---|---|
committer | Alan Pearce | 2017-09-09 16:49:30 +0200 |
commit | cf85d19331d519f99ffd8652b6a279acfaa3f9be (patch) | |
tree | 7fa06fd9b749b49af036bc8bf499ba64b7d731f8 /modules/colemak.nix | |
parent | 2a7fdeb9dfa214e1eef0b7cdabc970b69e65c25d (diff) | |
download | nixfiles-cf85d19331d519f99ffd8652b6a279acfaa3f9be.tar.lz nixfiles-cf85d19331d519f99ffd8652b6a279acfaa3f9be.tar.zst nixfiles-cf85d19331d519f99ffd8652b6a279acfaa3f9be.zip |
Add colemak module
Diffstat (limited to 'modules/colemak.nix')
-rw-r--r-- | modules/colemak.nix | 17 |
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"; + }; +} |