diff options
| author | 2026-09-17 11:05:45 +0200 | |
|---|---|---|
| committer | 2026-09-17 11:05:45 +0200 | |
| commit | f793f76e26b461c3228c69926d82bf950aaac671 (patch) | |
| tree | affac98593ff0de3bb24fcd8aa64f6ef8ed9dc19 /openspec/changes/add-nix-flake-bootstrap | |
| parent | ae3fa667bda75f11881c9209dc67226f98bcfd95 (diff) | |
| download | desktop-flake-f793f76e26b461c3228c69926d82bf950aaac671.tar.gz desktop-flake-f793f76e26b461c3228c69926d82bf950aaac671.tar.bz2 desktop-flake-f793f76e26b461c3228c69926d82bf950aaac671.zip | |
Add scripted host bootstrapping with directory-driven discovery
nixosConfigurations now auto-discovers hosts/<name>/ directories instead
of a hand-maintained attrset, and scripts/bootstrap-host.sh (exposed as
`nix run .#bootstrap-host`) scaffolds a new host from the template. The
script always requires an explicit --root for hardware-configuration.nix
so a live-installer run can never read the live ISO's own /etc/nixos by
accident. Also records the belated task-11.1 checkbox update for the
prior change's already-committed state.
Diffstat (limited to 'openspec/changes/add-nix-flake-bootstrap')
| -rw-r--r-- | openspec/changes/add-nix-flake-bootstrap/tasks.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openspec/changes/add-nix-flake-bootstrap/tasks.md b/openspec/changes/add-nix-flake-bootstrap/tasks.md index 4e687ac..2bf14dc 100644 --- a/openspec/changes/add-nix-flake-bootstrap/tasks.md +++ b/openspec/changes/add-nix-flake-bootstrap/tasks.md | |||
| @@ -52,7 +52,7 @@ | |||
| 52 | 52 | ||
| 53 | ## 11. Commit | 53 | ## 11. Commit |
| 54 | 54 | ||
| 55 | - [ ] 11.1 `git add` all new files (`flake.nix`, `flake.lock`, `lib/`, `modules/`, `hosts/`, `users/`, `README.md`, `.gitignore`) and create the initial commit — verify with `git status` showing a clean tree and `git log` showing the commit, which also makes the flake's files visible to the Nix evaluator for the first time (**note: no `flake.lock` yet — it can only be generated by `nix flake lock`/`nix flake check`, which require Nix; commit without it for now, it will be created on first `nix` invocation**) (**blocked — sandbox denies write access to `.git/index.lock`; all files are written to disk and staged commands were handed to the user to run directly, e.g. via `!git add ... && git commit ...`**) | 55 | - [x] 11.1 `git add` all new files (`flake.nix`, `flake.lock`, `lib/`, `modules/`, `hosts/`, `users/`, `README.md`, `.gitignore`) and create the initial commit — verify with `git status` showing a clean tree and `git log` showing the commit, which also makes the flake's files visible to the Nix evaluator for the first time (**note: no `flake.lock` yet — it can only be generated by `nix flake lock`/`nix flake check`, which require Nix; committed without it, will be created on first `nix` invocation**) (committed as `d7acead`, staged/committed by the user due to a sandbox restriction on `.git/index.lock`; `git status` confirms a clean tree, `git log` confirms the commit) |
| 56 | 56 | ||
| 57 | --- | 57 | --- |
| 58 | 58 | ||
