Commit Graph

18 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 fc8676c3bb devshell: Remove deprecated Nix command stuff 2024-11-30 19:19:23 +00:00
jackos1998 7c67eaff21 nixos/colony: Add qclk management container
CI / Check, build and cache Nix flake (push) Successful in 34m42s
2024-09-01 19:22:03 +01: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 22bf75d0a0 deploy-rs: Default to skipping checks and disabling auto / magic rollback 2023-12-17 13:40:25 +00:00
jackos1998 edb5767770 Add binary cache timeout and fallback
CI / Check, build and cache Nix flake (push) Successful in 14m19s
2023-11-18 00:10:05 +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 36cd77c697 nixos/object: Initial working atticd cache 2023-11-17 15:05:12 +00:00
jackos1998 2dbc8b398b Split constants into separate lib file 2023-11-02 13:41:50 +00:00
jackos1998 db3e6e585d devshell: Update repl command for newer Nix 2023-10-31 14:38:51 +00:00
jackos1998 d9b0ba2e6e Remove nix-cache.nul.ie for now 2022-10-06 11:57:06 +01:00
jackos1998 940aa6145f Fix missing key for cache.nixos.org 2022-07-17 02:56:26 +01:00
jackos1998 1b67ac1da0 Add custom Nix cache to Nix configs 2022-07-16 21:04:11 +01:00
jackos1998 543c5fd968 devshell: Remove Nix http-connections config 2022-06-12 23:21:16 +01:00
jackos1998 0a5a554ab3 nixos: Attempt to get LLDP working 2022-05-18 22:52:42 +01:00
jackos1998 009dec03cf Initial networking VM
Also general improvements around VMs
2022-05-16 00:05:02 +01:00
jackos1998 8c61cea30d Add secret support 2022-02-22 00:59:57 +00:00
jackos1998 fafb7d4656 Move devshell to subdirectory 2022-02-19 23:37:19 +00:00