Commit Graph

16 Commits

Author SHA1 Message Date
jackos1998 7fe3c8186c nix: Adopt Determinate Nix as the common Nix
Use Determinate Nix as `nix.package` for systems, homes and the
devshell, for its parallel evaluation and lazy trees. We only take the
package, not `determinate-nixd`: the daemon and `nix.conf` model are
unchanged and the Determinate NixOS module is not imported.

- Add the `determinate-nix` (`nix-src`) input, following our
  `nixpkgs-unstable`. FlakeHub's cache needs auth, so we build it
  ourselves and let it flow through Harmonia like everything else.
- `determinateOverlay` exposes it as `pkgs'.mine.determinate-nix`;
  `lib.my.c.nix.determinateSettings` (`lazy-trees`, `eval-cores = 0`)
  is merged into `nix.settings` and the devshell `nix.conf`.
- Switch CI to `DeterminateSystems/determinate-nix-action` so the
  runner itself evaluates with Determinate.
- Advertise the Harmonia cache via the flake's `nixConfig`, trusted
  without a prompt via `accept-flake-config` in the devshell, `.envrc`
  and CI only (boxes already trust it through `nix.settings`).
- Re-attach `pkgs`/`lib` to container and installer
  `nixosConfigurations` so Determinate's flake schemas can evaluate
  them (`nix flake check` otherwise fails with `attribute 'pkgs'
  missing`).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-03 22:31:43 +01:00
jackos1998 90cc2d53f1 Update CI workflow to Ubuntu 26.04
CI / Check, build and cache nixfiles (push) Successful in 46m23s
2026-06-14 20:37:53 +01:00
jackos1998 2915e42a1d ci: Group CI jobs
CI / Check, build and cache nixfiles (push) Failing after 33m39s
2024-11-30 18:05:22 +00:00
jackos1998 56e9abf945 ci: Build and grab path for jobs in separate calls
CI / Check, build and cache Nix flake (push) Has been cancelled
The old build-n-parse seemed to output null sometimes.....
2024-11-26 22:45:19 +00:00
jackos1998 9e6f885c17 ci: Tweak log messages 2024-11-26 22:00:17 +00:00
jackos1998 e9467e0cc7 ci: Build and cache CI jobs individually
CI / Check, build and cache Nix flake (push) Failing after 6m27s
2024-11-26 12:37:47 +00:00
jackos1998 69216c6b4c Use harmonia instead of attic for binary cache
CI / Check, build and cache Nix flake (push) Successful in 2h1m7s
2024-07-20 19:04:51 +01:00
jackos1998 7ab57a12b7 Reduce core count for CI
CI / Check, build and cache Nix flake (push) Successful in 1h27m30s
Installer / Build installer (push) Successful in 4m44s
2024-06-30 15:02:21 +01:00
jackos1998 dfca7fccaa CI: Use pre-installed jq
CI / Check, build and cache Nix flake (push) Successful in 14m1s
2023-11-18 15:59:48 +00:00
jackos1998 a9a6409034 CI: Split check and build into separate steps
CI / Check, build and cache Nix flake (push) Successful in 14m34s
2023-11-17 23:47:11 +00:00
jackos1998 38e7251300 Set up homes and systems to use cache
CI / Check, build and cache Nix flake (push) Successful in 14m11s
2023-11-17 23:08:28 +00:00
jackos1998 4133ed48c5 CI: Update Nix cache key
CI / Check, build and cache Nix flake (push) Successful in 28m0s
2023-11-17 21:45:29 +00:00
jackos1998 241abd02ac Full CI 2023-11-17 20:25:33 +00:00
jackos1998 30d07385e6 CI with attic cache
CI / Check Nix flake (push) Successful in 1m30s
2023-11-17 15:12:13 +00:00
jackos1998 6f800cd8ef Overwrite runner arch for magic Nix cache
CI / Check Nix flake (push) Successful in 19m5s
2023-11-17 02:35:33 +00:00
jackos1998 f13f990e5b Add initial Gitea CI
CI / Check Nix flake (push) Failing after 20s
2023-11-16 22:03:02 +00:00