Commit Graph

52 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 1ca978baf4 home: Raise stateVersion and drop dead nix.package guards
Every managed home already had its stateVersion force-set per
home-manager branch (22.11 for stable/mine-stable, 23.05 otherwise);
pin them all to 23.05.

With the floor at 23.05 the `versionAtLeast config.home.stateVersion`
guards on `nix.package` are always taken, so drop them.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-03 22:31:43 +01:00
jackos1998 390818ffdb home-manager/gui: Disable pi-coding-agent (breaks CI)
`pi-coding-agent-bun` breaks `nix flake check` in CI: its bun2nix
`fetchBunDeps` calls `builtins.filterSource` on subpaths of the pi.nix
flake source, which requires that source derivation to be realised in the
local store. A fresh CI runner doesn't have it, so eval aborts with
`path '...-source.drv' is not valid`. It only works locally because the
source is already realised there.

Not using pi right now, so comment out the input, overlays, home module
import and the package (leaving a root-cause note in `flake.nix`) rather
than working around the upstream issue.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-02 00:12:51 +01:00
jackos1998 e077c6e30c home-manager/common: Add treemd 2026-07-28 12:06:24 +01:00
jackos1998 9b582bec7b home-manager/gui: Add pi-coding-agent
CI / Check, build and cache nixfiles (push) Failing after 2m29s
2026-07-26 18:55:20 +01:00
jackos1998 93529c578b "Release" 26.06 Irritating
CI / Check, build and cache nixfiles (push) Successful in 2h20m51s
2026-06-13 16:00:18 +01:00
jackos1998 45861bef08 "Release" 25.11 Hooray 2025-12-06 15:18:36 +00:00
jackos1998 be7fb5a243 home-manager/common: Fix overlays
CI / Check, build and cache nixfiles (push) Successful in 2h39m0s
2025-10-06 10:54:12 +01:00
jackos1998 8fa4a7ee60 "Release" 25.09 Giving
CI / Check, build and cache nixfiles (push) Failing after 31m46s
2025-09-06 17:14:09 +01:00
jackos1998 ffa5d19854 home-manager/common: Add nix-tree package
Installer / Build installer (push) Has been cancelled
CI / Check, build and cache Nix flake (push) Has been cancelled
2024-06-29 23:42:31 +01:00
jackos1998 677f3f26ab home-manager/common: Use vi bindings for tmux 2023-12-29 21:04:07 +00:00
jackos1998 4624480c8b home-manager/common: Fix Nix cache config for users
CI / Check, build and cache Nix flake (push) Successful in 18m32s
2023-12-13 22:57:54 +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 2dbc8b398b Split constants into separate lib file 2023-11-02 13:41:50 +00:00
jackos1998 65324d8af6 Add NixGL 2023-08-22 12:12:29 +01:00
jackos1998 31fd428d8c home-manager/common: Add alias for kitty SSH kitten 2023-08-06 13:38:34 +01:00
jackos1998 e36a706956 home-manager/common: Add pwgen 2023-06-24 17:31:26 +01:00
jackos1998 102805d89e home-manager/common: Add color to ip 2023-05-06 19:44:24 +01:00
jackos1998 c6c6ee4d72 nixos/castle: Add boardie 2023-04-23 23:44:55 +01:00
jackos1998 0038d9c987 Update nixpkgs and home-manager 2022-11-20 04:44:22 +00:00
jackos1998 d9b0ba2e6e Remove nix-cache.nul.ie for now 2022-10-06 11:57:06 +01:00
jackos1998 cf053a3f32 home-manager/common: Use nixpkgs flake for pkgs in Nix registry 2022-07-21 11:47:27 +01:00
jackos1998 1534f0a132 home-manager/common: Add mtr, make traceroute and iputils only on Linux 2022-07-20 12:22:56 +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 f744f77732 Fix pkgs ref in home-manager / NixOS registry.json 2022-06-17 22:48:47 +01:00
jackos1998 25dd48b795 Fix bugs related to mismatched / missing nix 2022-06-12 23:21:57 +01:00
jackos1998 75e0c3c9a4 home-manager/common: Add jq and yq 2022-06-11 20:27:59 +01:00
jackos1998 b1a968afea home-manager/common: Add ncdu 2022-06-06 15:09:42 +01:00
jackos1998 c841b37f19 Move NixOS and home-manager stable to 22.05 2022-05-28 18:38:03 +01:00
jackos1998 64def7f564 nixos: Tweak networking and prepare for more VMs 2022-05-28 15:34:50 +01:00
jackos1998 1eac3c8577 home-manager/common: Add whois 2022-05-12 21:19:18 +01:00
jackos1998 1a61c9e1b2 Update nixpkgs and home-manager
And fix weird nixpkgs config behaviour
2022-05-07 15:12:29 +01:00
jackos1998 934e7afcb8 home-manager/common: Use new upstream nix.settings to configure Nix 2022-04-17 16:01:07 +01:00
jackos1998 1d233e323f home-manager/common: Swap dhex for hyx
dhex is unsupported on darwin.
2022-03-29 11:49:28 +01:00
jackos1998 2fcd129089 home-manager/common: Add dhex 2022-03-29 11:41:56 +01:00
jackos1998 5ef6684df4 home-manager/common: Add tmux and wget 2022-03-23 13:39:13 +00:00
jackos1998 5bb7985883 home-manager/common: Fix flake-src function 2022-02-22 20:59:20 +00:00
jackos1998 8c61cea30d Add secret support 2022-02-22 00:59:57 +00:00
jackos1998 de5e320c1a Source /etc/profile.d/nix.sh on darwin 2022-02-21 13:58:38 +00:00
jackos1998 a0901fecde home-manager: Add nix.conf 2022-02-21 13:38:22 +00:00
jackos1998 7180d265c4 home-manager/configs: Add macsimum and use SSH extraConfig 2022-02-21 13:19:21 +00:00
jackos1998 810ddc76af Disable starship in Linux TTY 2022-02-21 00:54:10 +00:00
jackos1998 9d2272b3df Use fish instead of bash as default shell 2022-02-20 23:55:51 +00:00
jackos1998 c258230d74 Modularise deploy-rs and add home-manager configs 2022-02-20 20:16:49 +00:00
jackos1998 15b10f22cf Update inputs and disable kmscon 2022-02-20 16:10:57 +00:00
jackos1998 7537cf4205 Functioning installation 2022-02-19 22:55:53 +00:00
jackos1998 22c878bb69 Fix dev VM networking 2022-02-17 19:14:10 +00:00
jackos1998 a814bdfcf8 home-manager: Add SSH configuration 2022-02-17 18:36:39 +00:00