diff options
Diffstat (limited to 'openspec/changes/archive/2026-09-24-switch-docker-rootful/tasks.md')
| -rw-r--r-- | openspec/changes/archive/2026-09-24-switch-docker-rootful/tasks.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/openspec/changes/archive/2026-09-24-switch-docker-rootful/tasks.md b/openspec/changes/archive/2026-09-24-switch-docker-rootful/tasks.md new file mode 100644 index 0000000..f73e8d0 --- /dev/null +++ b/openspec/changes/archive/2026-09-24-switch-docker-rootful/tasks.md | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | ## 1. Switch to rootful Docker | ||
| 2 | |||
| 3 | - [x] 1.1 In `modules/nixos/common.nix`, replace `virtualisation.docker.rootless.enable`/`setSocketVariable` with `virtualisation.docker.enable = true;`. | ||
| 4 | - [x] 1.2 Add `"docker"` to `users.users.tom.extraGroups` in `modules/nixos/common.nix` (alongside `"wheel"`). | ||
| 5 | - [x] 1.3 Build a NixOS host's system closure with `hosts/test-vm` visible via the `path:` flake-ref scheme: `nix build 'path:/home/tom/desktop-flake#nixosConfigurations.test-vm.config.system.build.toplevel'`, and verify it succeeds. | ||
| 6 | - [x] 1.4 Inspect the built closure's Docker systemd unit (system-level `docker.service`, not a user unit this time) and verify it's a root-run system service, and verify `tom`'s configured groups include `docker`. | ||
| 7 | |||
| 8 | ## 2. Spec sync | ||
| 9 | |||
| 10 | - [x] 2.1 Verify `openspec validate --change switch-docker-rootful --strict` passes, confirming the delta spec matches the shipped behavior. | ||
