From cf85d19331d519f99ffd8652b6a279acfaa3f9be Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 9 Sep 2017 14:57:39 +0200 Subject: Add colemak module --- modules/colemak.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 modules/colemak.nix (limited to 'modules') 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"; + }; +} -- cgit 1.4.1