summaryrefslogtreecommitdiff
path: root/modules/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nixos')
-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