summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfiguration.nix4
-rw-r--r--modules/nixos/des/hyprland.nix6
-rw-r--r--modules/nixos/des/i3wm.nix6
-rwxr-xr-xmun.nix6
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 = {