diff options
author | Alan Pearce | 2017-09-23 13:59:19 +0200 |
---|---|---|
committer | Alan Pearce | 2017-09-23 14:10:26 +0200 |
commit | 0f2c55992677e78d5d2908d0648e410ef9b27436 (patch) | |
tree | b2a3432e15dd9af506c317af608ea69721979a41 /modules/hardware/colemak.nix | |
parent | 496b4ed379afe7f1e0563243a0a5efe0857fe3bb (diff) | |
download | nixfiles-0f2c55992677e78d5d2908d0648e410ef9b27436.tar.lz nixfiles-0f2c55992677e78d5d2908d0648e410ef9b27436.tar.zst nixfiles-0f2c55992677e78d5d2908d0648e410ef9b27436.zip |
Organise modules into folders
Diffstat (limited to 'modules/hardware/colemak.nix')
-rw-r--r-- | modules/hardware/colemak.nix | 17 |
1 files changed, 17 insertions, 0 deletions
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"; + }; +} |