summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2020-03-16 10:05:41 +0100
committerAlan Pearce2020-03-16 10:05:41 +0100
commitab8c99f7875592b29f4b6c3edccf8fda512299f4 (patch)
tree8cc0d82aa3923cf2a449aa23b275f352534ef4ee /system
parentd6a9b583285003383f5a8d72127e0d90ef77ae40 (diff)
downloadnixfiles-ab8c99f7875592b29f4b6c3edccf8fda512299f4.tar.lz
nixfiles-ab8c99f7875592b29f4b6c3edccf8fda512299f4.tar.zst
nixfiles-ab8c99f7875592b29f4b6c3edccf8fda512299f4.zip
keyboard: use qwerty,norman
Diffstat (limited to 'system')
-rw-r--r--system/prefect.nix2
-rw-r--r--system/satoshipad.nix2
-rw-r--r--system/settings/hardware/keyboard.nix9
3 files changed, 11 insertions, 2 deletions
diff --git a/system/prefect.nix b/system/prefect.nix
index f3afd852..0300f2c6 100644
--- a/system/prefect.nix
+++ b/system/prefect.nix
@@ -14,7 +14,7 @@
     ./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
diff --git a/system/satoshipad.nix b/system/satoshipad.nix
index a6b20e35..b4eeef6f 100644
--- a/system/satoshipad.nix
+++ b/system/satoshipad.nix
@@ -18,7 +18,7 @@
     ./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
diff --git a/system/settings/hardware/keyboard.nix b/system/settings/hardware/keyboard.nix
new file mode 100644
index 00000000..5a0ea5f4
--- /dev/null
+++ b/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";
+  };
+}