summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-02-02 17:21:01 +0100
committerNatasha Moongrave <natasha@256phi.eu>2026-02-02 17:21:01 +0100
commit224e410e5ff6b99d009de8ff7dd7f953b572c280 (patch)
treed923341f3b9385fdc0e20e344299c81dd7763a32 /modules
parent3497b01a7385fa87ff983e27a7860fcfc9e50949 (diff)
added czech layout to everything (qwertz)
Diffstat (limited to 'modules')
-rw-r--r--modules/nixos/des/hyprland.nix6
-rw-r--r--modules/nixos/des/i3wm.nix6
2 files changed, 12 insertions, 0 deletions
diff --git a/modules/nixos/des/hyprland.nix b/modules/nixos/des/hyprland.nix
index 12f05ea..7bd77b4 100644
--- a/modules/nixos/des/hyprland.nix
+++ b/modules/nixos/des/hyprland.nix
@@ -21,4 +21,10 @@
qt6.qttools
hyprpolkitagent
];
+
+ # Provide keyboard layout vars for Wayland environments and fallback
+ environment.variables = {
+ XKB_DEFAULT_LAYOUT = "cz";
+ XKB_DEFAULT_OPTIONS = "eurosign:e,caps:escape";
+ };
} \ No newline at end of file
diff --git a/modules/nixos/des/i3wm.nix b/modules/nixos/des/i3wm.nix
index be5eec5..f26b54a 100644
--- a/modules/nixos/des/i3wm.nix
+++ b/modules/nixos/des/i3wm.nix
@@ -4,5 +4,11 @@
services.xserver = {
enable = true;
windowManager.i3.enable = true;
+
+ # Czech QWERTZ layout (Czech "CZ" layout)
+ xkb = {
+ layout = "cz";
+ options = "eurosign:e,caps:escape";
+ };
};
} \ No newline at end of file