21 Commits
Author SHA1 Message Date
Gabriel Fontes 5bd536014a feat(hydra): build systemConfigs as hosts jobs
Fold outputs.systemConfigs into the hydra 'hosts' jobs alongside
nixosConfigurations, so Hydra builds mgc's system-manager generation as
hosts.mgc (matching the hosts.<name> convention the auto-upgrade uses).

Assisted-by: pi (claude-opus-4-8)
2026-08-07 00:03:04 -03:00
Gabriel Fontes be533b7e49 refactor(themes): drop projects/themes, generate colorschemes purely
With the matugen IFD replaced by lib/material-you.nix, projects/themes only existed
to cache that IFD, so remove it:

- Move wallpapers/ to the repo root. Each wallpaper now carries its material-you
  source color (extracted once, committed in list.json) in passthru, so schemes
  generate with no image decoding at eval.
- Expose pkgs.wallpapers via the additions overlay, and a 'wallpapers'
  linkFarm package so Hydra builds+caches every image (imgur is upstream).
- Fold colorscheme generation into modules/home-manager/colors.nix: it now
  calls outputs.lib.material-you.generateColorscheme on the source color (the
  wallpaper's sourceColor or a hex) instead of the matugen derivation. No IFD,
  no generatedDrv.
- wallpaper option is now types.package (preserves the sourceColor passthru).
- Drop the themes flake input and its Hydra job; wallpapers ride the pkgs job.

Verified: atlas evaluates to a full toplevel; its colors match matugen 2.4.1
for the aenami-dawn seed (roles exact, one custom channel +-1 LSB).

Assisted-by: pi (opus-4.8)
2026-07-04 18:39:47 -03:00
Gabriel Fontes 8835d4f029 feat(hydra): build themes packages
Add themes to hydraJobs by reusing the themes flake's own hydraJobs output
(inputs.themes.hydraJobs), so the sub-flake declares what it wants built.
Surfaces allColorschemes and allWallpapers per system.

Assisted-by: pi (opus-4.8)
2026-07-04 16:54:01 -03:00
Gabriel Fontes 576ce2f1bb hydra: also build homes 2025-05-15 13:38:29 -03:00
Gabriel Fontes 870b3bd369 don't include functions in hydra eval 2024-04-22 13:32:21 -03:00
Gabriel Fontes 0f6ff8b963 make hydra build when platforms is [] 2024-04-22 13:15:52 -03:00
Gabriel Fontes 9349bd196d better wallpaper and colorscheme aggregated jobs 2024-04-22 12:50:23 -03:00
Gabriel Fontes d28f60318d refactor colorscheme generator 2024-04-22 12:05:00 -03:00
Gabriel Fontes fa78f4e866 add aggregate jobs for colorschemes and wallpapers 2024-04-22 10:22:37 -03:00
Gabriel Fontes f742e2b9b8 add colorschemes and wallpapers to hydraJobs, hopefully 2024-04-21 19:29:51 -03:00
Gabriel Fontes b6409c5fc2 move color generation tools to pkgs, allow caching in hydra 2024-04-21 15:17:06 -03:00
Gabriel Fontes 7885b414a4 format with alejandra
okay i'm not a big fan of nixfmt in the end
2024-04-07 14:21:47 -03:00
Gabriel Fontes 25e54c1dc5 run nixfmt in everything 2024-04-06 19:13:12 -03:00
Gabriel Fontes 3d156b8266 hydra: fix unfree evaluation 2023-09-25 11:26:47 -03:00
Gabriel Fontes 759d32e807 treewide: format 2023-04-01 13:22:37 -03:00
Gabriel Fontes 6cc064ec35 hydra: fix evaluation error when platforms is missing 2023-03-27 10:00:47 -03:00
Gabriel Fontes 07df3df368 treewide: format 2023-02-20 16:33:53 -03:00
Gabriel Fontes ec9b2f5f6e hydra: rename attrs
packages -> pkgs, nixos -> hosts
2023-02-07 22:58:59 -03:00
Gabriel Fontes 8ae9b938cb hydra: fix another typo 2023-02-01 18:24:37 -03:00
Gabriel Fontes 273300df34 hydra: fix typo 2023-02-01 18:16:22 -03:00
Gabriel Fontes 08f141e979 rework flake, move hydra stuff 2023-02-01 18:01:58 -03:00