From 224e410e5ff6b99d009de8ff7dd7f953b572c280 Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Mon, 2 Feb 2026 17:21:01 +0100 Subject: added czech layout to everything (qwertz) --- configuration.nix | 4 ++-- modules/nixos/des/hyprland.nix | 6 ++++++ modules/nixos/des/i3wm.nix | 6 ++++++ mun.nix | 6 ++++-- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/configuration.nix b/configuration.nix index 7948cc2..a8a8af4 100755 --- a/configuration.nix +++ b/configuration.nix @@ -7,8 +7,8 @@ # === Environment Choice === # Uncomment one of the following to select your environment: - #./modules/nixos/des/i3wm.nix - ./modules/nixos/des/hyprland.nix + ./modules/nixos/des/i3wm.nix + #./modules/nixos/des/hyprland.nix ]; } 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 diff --git a/mun.nix b/mun.nix index adec860..f23296d 100755 --- a/mun.nix +++ b/mun.nix @@ -2,8 +2,8 @@ { imports = [ - ./modules/home/hyprland/chernobyl/default.nix - #./modules/home/i3wm/default.nix + #./modules/home/hyprland/chernobyl/default.nix + ./modules/home/i3wm/default.nix ]; home = { username = "mun"; @@ -31,6 +31,8 @@ lazygit tree-sitter gcr + + # ]; sessionVariables = { -- cgit v1.2.3