nixos/settings
rope f4b45c8bda hyprland: fix Lua config errors caused by stylix's Hyprland target
Stylix's Hyprland target injects settings.{general,decoration,group,misc}
as top-level keys.  In hyprlang mode these render as section blocks, but
in Lua mode (configType = "lua") they become hl.general(), hl.decoration(),
etc. — functions that don't exist, causing an emergency-mode config error.

Disable stylix.targets.hyprland and absorb all its colours into
settings.config.{general,decoration,group,misc} where they are correctly
rendered inside the single hl.config({}) call.

Also add a home.activation script that removes any stale hyprland.conf
(auto-generated by Hyprland before hyprland.lua was first placed) so the
autogenerated-config warning banner can never persist across restarts.
Keep services.hyprpaper.enable = true since it was previously set by the
now-disabled Hyprland target.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 22:24:12 +01:00
..
audio.nix audio: lower mic boost from 2.0 to 1.5 2026-04-24 22:30:22 +01:00
desktop.nix desktop: enable Plymouth boot splash with Stylix theming 2026-05-17 11:11:15 +01:00
hyprland.nix hyprland: fix Lua config errors caused by stylix's Hyprland target 2026-05-17 22:24:12 +01:00
locale.nix locale + crowdsec: pin timezone, declare static crowdsec user 2026-04-29 14:00:41 +01:00
shell.nix shell: add desktop-environment module to fastfetch 2026-04-28 13:22:42 +01:00
stylix.nix 2026-05-15 22:47:46 +01:00
users.nix macbook: add keyboard backlight key bindings and permissions 2026-05-17 12:58:06 +01:00