summary refs log tree commit diff stats
path: root/modules/hardware
diff options
context:
space:
mode:
authorAlan Pearce2018-03-06 13:01:12 +0100
committerAlan Pearce2018-03-06 13:01:12 +0100
commit66d2f0330023b14abd15f7da407f6cff9e7fd890 (patch)
tree6b687837917b36846523ce24bd0e113a3e772936 /modules/hardware
parent6cc2b2d23b4d9b59e6ca016eaaadfb3f6a5dc48c (diff)
downloadnixos-configuration-66d2f0330023b14abd15f7da407f6cff9e7fd890.tar.lz
nixos-configuration-66d2f0330023b14abd15f7da407f6cff9e7fd890.tar.zst
nixos-configuration-66d2f0330023b14abd15f7da407f6cff9e7fd890.zip
Use qwerty on satoshipad
Diffstat (limited to 'modules/hardware')
-rw-r--r--modules/hardware/qwerty.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/hardware/qwerty.nix b/modules/hardware/qwerty.nix
new file mode 100644
index 0000000..3783b3a
--- /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";
+  };
+}