diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-02-02 17:21:01 +0100 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-02-02 17:21:01 +0100 |
| commit | 224e410e5ff6b99d009de8ff7dd7f953b572c280 (patch) | |
| tree | d923341f3b9385fdc0e20e344299c81dd7763a32 | |
| parent | 3497b01a7385fa87ff983e27a7860fcfc9e50949 (diff) | |
added czech layout to everything (qwertz)
| -rwxr-xr-x | configuration.nix | 4 | ||||
| -rw-r--r-- | modules/nixos/des/hyprland.nix | 6 | ||||
| -rw-r--r-- | modules/nixos/des/i3wm.nix | 6 | ||||
| -rwxr-xr-x | 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 @@ -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 = { |
