all repos — nixfiles @ 66d2f0330023b14abd15f7da407f6cff9e7fd890

System and user configuration, managed by nix and home-manager

Use qwerty on satoshipad
Alan Pearce alan@alanpearce.eu
Tue, 06 Mar 2018 13:01:12 +0100
commit

66d2f0330023b14abd15f7da407f6cff9e7fd890

parent

6cc2b2d23b4d9b59e6ca016eaaadfb3f6a5dc48c

2 files changed, 15 insertions(+), 0 deletions(-)

jump to
A 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";
+  };
+}
M satoshipad.nixsatoshipad.nix
@@ -20,6 +20,7 @@ ./modules/hardware/systemd-boot.nix     ./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