aboutsummaryrefslogtreecommitdiff
path: root/modules/workstation/hardware/xkblayout/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/workstation/hardware/xkblayout/default.nix')
-rw-r--r--modules/workstation/hardware/xkblayout/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/workstation/hardware/xkblayout/default.nix b/modules/workstation/hardware/xkblayout/default.nix
new file mode 100644
index 00000000000..1fa51cc0527
--- /dev/null
+++ b/modules/workstation/hardware/xkblayout/default.nix
@@ -0,0 +1,16 @@
+/* KEYBOARD LAYOUT MODULE
+ *
+ * (INCOMPLETE) Setup keyboard layout
+ * and overrides. Currently this is
+ * mostly handled by GRAPHICS/I3 but
+ * should maybe be moved here?
+ */
+{ pkgs, config, ... }:
+
+{
+ i18n.consoleUseXkbConfig = true;
+ services.xserver.layout = "us";
+
+ # environment.variables.XKB_DEFAULT_LAYOUT = xcfg.layout;
+ # environment.variables.XKB_DEFAULT_OPTIONS = xcfg.xkbOptions;
+}