all repos — nixfiles @ ab8c99f7875592b29f4b6c3edccf8fda512299f4

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

keyboard: use qwerty,norman
Alan Pearce alan@alanpearce.eu
Mon, 16 Mar 2020 10:05:41 +0100
commit

ab8c99f7875592b29f4b6c3edccf8fda512299f4

parent

d6a9b583285003383f5a8d72127e0d90ef77ae40

3 files changed, 11 insertions(+), 2 deletions(-)

jump to
M system/prefect.nixsystem/prefect.nix
@@ -14,7 +14,7 @@ ./settings/hardware/bare-metal.nix     ./settings/hardware/mouse.nix
     ./settings/hardware/systemd-boot.nix
     ./settings/hardware/nvidia-gpu.nix
-    ./settings/hardware/qwerty.nix
+    ./settings/hardware/keyboard.nix
     ./settings/hardware/trezor.nix
     ./settings/services/zeroconf.nix
     ./settings/user-interface.nix
M system/satoshipad.nixsystem/satoshipad.nix
@@ -18,7 +18,7 @@ ./settings/hardware/audio.nix     ./settings/hardware/systemd-boot.nix
     ./settings/hardware/keyboardio-model01.nix
     ./settings/hardware/network-manager.nix
-    ./settings/hardware/qwerty.nix
+    ./settings/hardware/keyboard.nix
     ./settings/hardware/printing.nix
     ./settings/hardware/trackball.nix
     ./settings/hardware/trezor.nix
A system/settings/hardware/keyboard.nix
@@ -0,0 +1,9 @@+{ config, pkgs, ... }:
+
+{
+  services.xserver = {
+    layout = "us,us";
+    xkbVariant = "intl-unicode,norman";
+    xkbOptions = "altwin:prtsc_rwin,caps:escape,grp:shifts_toggle";
+  };
+}