feat(themes): implement declarative theme file management

- Link active theme files from themes/ directly via Home Manager
- Use 'recursive = true' to allow dynamic templating inside linked directories
- Simplify nomarchy-theme-set to rely on declarative links
- Update template generator to point to the unified theme directory
This commit is contained in:
Bernardo Magri
2026-04-04 10:13:12 +01:00
parent cfd5e4bb65
commit b86c2bad43
2 changed files with 11 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
{ config, ... }:
{
xdg.configFile."nomarchy/current/theme" = {
source = ../../themes/${config.nomarchy.theme};
recursive = true;
};
xdg.configFile."nomarchy/current/theme.name".text = config.nomarchy.theme;
}