From cc7945b28bc5ac2cf5b38ef5a12db801edd28968 Mon Sep 17 00:00:00 2001 From: Daniel Fainberg Date: Thu, 6 Aug 2026 09:25:07 +0200 Subject: [PATCH] refactor(home): default hyprland `kb_layout` to neutral `us` the baseline hard-coded a german layout, leaking a personal value into a module meant to be region-neutral. ship `mkDefault "us"` like `console.keyMap` so a consumer overrides it from their inventory. Co-Authored-By: Claude Opus 4.8 --- CLAUDE.md | 3 ++- modules/home.nix | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 079d730..536a17c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -48,7 +48,8 @@ declaratively in `modules/home.nix` (`wayland.windowManager.hyprland`, `programs `programs.foot`). Font is JetBrainsMono Nerd Font; Waybar/foot use Nerd Font glyphs (nf-md set) for icons, so new glyphs should come from that set for visual consistency. -Hyprland uses the **master** layout and a **German** keyboard (`kb_layout = "de"`). +Hyprland uses the **master** layout; `kb_layout` ships neutral (`mkDefault "us"`), +overridden per-inventory like `console.keyMap`. Look deliberately minimal: animations, blur, rounding, and shadows are all turned **off** on purpose — don't reintroduce them when adding desktop tweaks. diff --git a/modules/home.nix b/modules/home.nix index 42a9765..1d596e9 100644 --- a/modules/home.nix +++ b/modules/home.nix @@ -595,7 +595,8 @@ in }; input = { - kb_layout = "de"; + # Neutral default; set the real layout in your inventory (like console.keyMap). + kb_layout = lib.mkDefault "us"; follow_mouse = 1; numlock_by_default = true; };