diff options
Diffstat (limited to 'openspec/changes/archive/2026-09-24-add-uv-and-docker-runtime/tasks.md')
| -rw-r--r-- | openspec/changes/archive/2026-09-24-add-uv-and-docker-runtime/tasks.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/openspec/changes/archive/2026-09-24-add-uv-and-docker-runtime/tasks.md b/openspec/changes/archive/2026-09-24-add-uv-and-docker-runtime/tasks.md new file mode 100644 index 0000000..14b6dfc --- /dev/null +++ b/openspec/changes/archive/2026-09-24-add-uv-and-docker-runtime/tasks.md | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | ## 1. uv CLI tool | ||
| 2 | |||
| 3 | - [x] 1.1 Add `pkgs.uv` to the package list in `modules/home/dev-tools.nix` and verify `nix eval '.#homeConfigurations."tom@linux".config.home.packages'` and `..."tom@darwin"...` both include it. | ||
| 4 | |||
| 5 | ## 2. Rootless Docker daemon | ||
| 6 | |||
| 7 | - [x] 2.1 Add `virtualisation.docker.rootless.enable = true;` and `virtualisation.docker.rootless.setSocketVariable = true;` to `modules/nixos/common.nix`, alongside the other unconditional host-level services. | ||
| 8 | - [x] 2.2 Build a NixOS host's system closure with `hosts/test-vm` visible via the `path:` flake-ref scheme (it's git-untracked): `nix build 'path:/home/tom/desktop-flake#nixosConfigurations.test-vm.config.system.build.toplevel'`, and verify it succeeds. | ||
| 9 | - [x] 2.3 Inspect the built closure's `systemd.user.services.docker` unit (e.g. via the closure's `etc/systemd/user/docker.service` or an equivalent generated unit file) and verify it runs `dockerd-rootless` with `ConditionUser=!root`, confirming the daemon is wired as a rootless per-user service rather than a root daemon. | ||
| 10 | - [x] 2.4 On a booted host, after logging in as `tom`, verify `docker run --rm hello-world` succeeds with no manual `DOCKER_HOST` export or other setup — this needs an interactive login session and can't be exercised from this sandbox. | ||
| 11 | |||
| 12 | ## 3. Spec sync | ||
| 13 | |||
| 14 | - [x] 3.1 Verify `openspec validate --change add-uv-and-docker-runtime --strict` passes once the above are implemented, confirming both delta specs match the shipped behavior. | ||
