Add clan vars SSH host key for lxc-tor-relay (recovered from pve1 backup, verified fingerprint matches .sops.yaml &lxc-tor-relay anchor)
Fix nixos-lxc-sops-reinstall.service: move from sysinit.target to network.target so D-Bus is available when switch-to-configuration test runs
Details
The sops-reinstall service was reporting failure on every boot (exit 1: Failed to open dbus connection) because it ran at sysinit.target before D-Bus started. Secrets were actually installed correctly (activation scripts run before the D-Bus call), but the service marked as failed. Fix: run at network.target instead, where basic.target (including dbus-broker.service) is already complete. Also added SuccessExitStatus=11 for the edge case where a concurrent rebuild holds the activation lock.
Test plan
Eval passes (all lxc-* hosts)
nixpkgs-fmt + statix clean
Redeploy lxc-tor-relay on pve1 to verify service reports active on boot
## Summary
- Add clan vars SSH host key for lxc-tor-relay (recovered from pve1 backup, verified fingerprint matches .sops.yaml `&lxc-tor-relay` anchor)
- Fix `nixos-lxc-sops-reinstall.service`: move from `sysinit.target` to `network.target` so D-Bus is available when `switch-to-configuration test` runs
## Details
The sops-reinstall service was reporting failure on every boot (exit 1: `Failed to open dbus connection`) because it ran at `sysinit.target` before D-Bus started. Secrets were actually installed correctly (activation scripts run before the D-Bus call), but the service marked as failed. Fix: run at `network.target` instead, where `basic.target` (including `dbus-broker.service`) is already complete. Also added `SuccessExitStatus=11` for the edge case where a concurrent rebuild holds the activation lock.
## Test plan
- [ ] Eval passes (all lxc-* hosts)
- [ ] nixpkgs-fmt + statix clean
- [ ] Redeploy lxc-tor-relay on pve1 to verify service reports active on boot
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01B2EJ4qTsM5KUqhS5c3GAwx
The key was generated in a prior session but not committed — the clan vars
files existed only in that session's working tree. Recovered the original
private key from pve1's host-keys/ backup (fingerprint age16kqf... matches
the &lxc-tor-relay anchor already in .sops.yaml), re-encrypted for admin
age key only, and stored in the canonical clan vars layout.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B2EJ4qTsM5KUqhS5c3GAwx
nixos-lxc-sops-reinstall.service called switch-to-configuration test at
sysinit.target time (DefaultDependencies=false), before D-Bus was up.
D-Bus is required to restart systemd targets after activation scripts
run. The service reported failure on every boot (exit 1: "Failed to open
dbus connection") even though secrets were correctly installed, because
the D-Bus call happens after activation scripts complete.
Move the service to network.target so basic.target (which includes
dbus-broker.service) runs first. Also drop DefaultDependencies=false so
systemd auto-adds After=basic.target. Add SuccessExitStatus=11 to handle
the edge case where switch-to-configuration holds the lock during a
concurrent rebuild (exit 11 = "Could not acquire lock" -- the rebuild's
own activation already installed the secrets, so treating it as success
is correct).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B2EJ4qTsM5KUqhS5c3GAwx
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
&lxc-tor-relayanchor)nixos-lxc-sops-reinstall.service: move fromsysinit.targettonetwork.targetso D-Bus is available whenswitch-to-configuration testrunsDetails
The sops-reinstall service was reporting failure on every boot (exit 1:
Failed to open dbus connection) because it ran atsysinit.targetbefore D-Bus started. Secrets were actually installed correctly (activation scripts run before the D-Bus call), but the service marked as failed. Fix: run atnetwork.targetinstead, wherebasic.target(includingdbus-broker.service) is already complete. Also addedSuccessExitStatus=11for the edge case where a concurrent rebuild holds the activation lock.Test plan
🤖 Generated with Claude Code
https://claude.ai/code/session_01B2EJ4qTsM5KUqhS5c3GAwx