From 66d2f0330023b14abd15f7da407f6cff9e7fd890 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 6 Mar 2018 13:01:12 +0100 Subject: Use qwerty on satoshipad --- modules/hardware/qwerty.nix | 14 ++++++++++++++ satoshipad.nix | 1 + 2 files changed, 15 insertions(+) create mode 100644 modules/hardware/qwerty.nix diff --git a/modules/hardware/qwerty.nix b/modules/hardware/qwerty.nix new file mode 100644 index 00000000..3783b3a9 --- /dev/null +++ b/modules/hardware/qwerty.nix @@ -0,0 +1,14 @@ +{ config, pkgs, ... }: + +{ services.kmscon = { + extraConfig = '' + xkb-model=pc104 + xkb-layout=us + xkb-options="altwin:prtsc_rwin" + ''; + }; + services.xserver = { + layout = "us"; + xkbOptions = "altwin:prtsc_rwin"; + }; +} diff --git a/satoshipad.nix b/satoshipad.nix index 9fb54547..226908fd 100644 --- a/satoshipad.nix +++ b/satoshipad.nix @@ -20,6 +20,7 @@ ./modules/hardware/network-manager.nix ./modules/hardware/nitrokey.nix ./modules/hardware/printing.nix + ./modules/hardware/qwerty.nix ./modules/hardware/trackball.nix ./modules/machines/t470s.nix ./modules/programs/accounting.nix -- cgit 1.4.1