diff options
author | Katharina Fey <kookie@spacekookie.de> | 2019-10-05 22:09:49 +0000 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2019-10-05 22:09:49 +0000 |
commit | c04d9504fa2ae8f447ef05a1e7ddb3b21ed06af9 (patch) | |
tree | 4dcadc971cabf2f96f5ef832a5664ae31c052051 /modules/workstation/hardware/xkblayout/default.nix | |
parent | 0a6d1447db7d1f52517a4a4c47d4198451fd223e (diff) |
Adding workstation module
Diffstat (limited to 'modules/workstation/hardware/xkblayout/default.nix')
-rw-r--r-- | modules/workstation/hardware/xkblayout/default.nix | 16 |
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; +} |