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

@@ -73,5 +73,10 @@
description = "System monospace font.";
};
};
configOverrides = lib.mkOption {
type = lib.types.nullOr lib.types.path;
default = null;
description = "Path to a directory containing configuration overrides.";
};
};
}