- pkgs/defguard-client.nix repackages the official 2.1.2 .deb (GUI, defguard-service, dg) with
Nix's WebKitGTK 4.1, so it runs natively on SteamOS; the GUI wrapper adds desktop-file-utils
and xdg-utils, which the app needs to register its defguard:// handler.
- `dot system` installs the root interface service (config/defguard/defguard-service.service),
the defguard group and a resolvconf -> resolvectl shim where resolvconf is missing.
- `dot defguard` mints a single-use desktop token with DEFGUARD_API_TOKEN from the Bitwarden-backed
secrets.env and writes ~/.local/share/net.defguard/provisioning.json, so the app configures the
home-lab instance on its next start.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GUebqghNwNssAZuWTxUq1y