From 0f2c55992677e78d5d2908d0648e410ef9b27436 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 23 Sep 2017 13:59:19 +0200 Subject: Organise modules into folders --- modules/hardware/colemak.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 modules/hardware/colemak.nix (limited to 'modules/hardware/colemak.nix') diff --git a/modules/hardware/colemak.nix b/modules/hardware/colemak.nix new file mode 100644 index 00000000..3b1c0582 --- /dev/null +++ b/modules/hardware/colemak.nix @@ -0,0 +1,17 @@ +{ config, pkgs, ... }: + +{ i18n.consoleKeyMap = "colemak/en-latin9"; + services.kmscon = { + extraConfig = '' + xkb-model=pc104 + xkb-layout=us + xkb-variant=colemak + xkb-options="altwin:prtsc_rwin" + ''; + }; + services.xserver = { + layout = "us,us"; + xkbVariant = "colemak,"; + xkbOptions = "grp:shifts_toggle,altwin:prtsc_rwin"; + }; +} -- cgit 1.4.1