From d92b7531944baa4b387ad87d0c84d5b012b91e4d Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Tue, 29 Sep 2026 10:11:34 +0200 Subject: Provision nh via the shared home profile Enables programs.nh so the nh CLI helper is available cross-platform alongside the rest of modules/home/dev-tools.nix, without wiring NH_FLAKE/etc (those wouldn't reliably reach the shell, since the dotfiles repo owns bash config, not home-manager). Co-Authored-By: Claude Sonnet 5 --- openspec/changes/archive/2026-09-29-add-nh/tasks.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 openspec/changes/archive/2026-09-29-add-nh/tasks.md (limited to 'openspec/changes/archive/2026-09-29-add-nh/tasks.md') diff --git a/openspec/changes/archive/2026-09-29-add-nh/tasks.md b/openspec/changes/archive/2026-09-29-add-nh/tasks.md new file mode 100644 index 0000000..f250909 --- /dev/null +++ b/openspec/changes/archive/2026-09-29-add-nh/tasks.md @@ -0,0 +1,11 @@ +## 1. Module enablement + +- [x] 1.1 Add `programs.nh.enable = true;` to `modules/home/dev-tools.nix` +- [x] 1.2 Verify `nix eval '.#homeConfigurations."tom@linux".config.programs.nh.enable'` and `nix eval '.#homeConfigurations."tom@darwin".config.programs.nh.enable'` both return `true` +- [x] 1.3 Verify `nix eval '.#homeConfigurations."tom@linux".config.home.packages'` and `nix eval '.#homeConfigurations."tom@darwin".config.home.packages'` each include the `nh` derivation + +## 2. Verification + +- [x] 2.1 Run `nix flake check` and confirm it passes +- [x] 2.2 Run `nix build '.#homeConfigurations."tom@linux".activationPackage'` and `nix build '.#homeConfigurations."tom@darwin".activationPackage'` (or `--dry-run` if this machine can't natively build one of the two targets) and confirm both resolve without evaluation errors +- [x] 2.3 Run `nix fmt` and confirm `modules/home/dev-tools.nix` is formatted with no diff -- cgit v1.3