feat(downstream): add easy configuration overrides

- Introduce nomarchy.configOverrides option to map a user directory to ~/.config
- Implement automatic merging of upstream defaults and user overrides
- Use lib.mkDefault for all upstream mappings to allow granular HM overrides
- Update installer template with usage examples
This commit is contained in:
Bernardo Magri
2026-04-04 10:40:15 +01:00
parent 4020ad5878
commit 81d0f0b542
3 changed files with 28 additions and 8 deletions

View File

@@ -254,8 +254,11 @@ cat <<EOF > /mnt/etc/nixos/home.nix
];
# Example: How to override Nomarchy defaults
# nomarchy.home.terminal = "kitty";
# nomarchy.home.themeOverride = "catppuccin-mocha";
# nomarchy.fonts.monospace = "FiraCode Nerd Font";
# Example: Easy configuration overrides
# Place your custom configs in an 'overrides' folder next to home.nix
# nomarchy.configOverrides = ./overrides;
}
EOF