summary refs log tree commit diff stats
path: root/system/modules/hardware/qwerty.nix
diff options
context:
space:
mode:
Diffstat (limited to 'system/modules/hardware/qwerty.nix')
-rw-r--r--system/modules/hardware/qwerty.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/system/modules/hardware/qwerty.nix b/system/modules/hardware/qwerty.nix
new file mode 100644
index 00000000..d220cb27
--- /dev/null
+++ b/system/modules/hardware/qwerty.nix
@@ -0,0 +1,16 @@
+{ config, pkgs, ... }:
+
+{ services.kmscon = {
+    extraConfig = ''
+      xkb-model=pc104
+      xkb-layout=us
+      xkb-variant=intl-unicode
+      xkb-options="altwin:prtsc_rwin"
+    '';
+  };
+  services.xserver = {
+    layout = "us";
+    xkbVariant = "intl-unicode";
+    xkbOptions = "altwin:prtsc_rwin";
+  };
+}