feat(wireguard): add WireGuard VPN role
All checks were successful
CI / check (push) Successful in 2m35s
CI / build-and-cache (push) Successful in 1m25s

Replace inline wg-quick config in nix-book with a reusable role that
uses inline config instead of configFile, fixing the world-readable
/tmp key leak. Adds network-online.target dependency to prevent boot
failures from DNS not being ready.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-26 16:57:55 -08:00
parent 60888a4901
commit 72b78ab25f
3 changed files with 86 additions and 7 deletions

View File

@@ -19,6 +19,7 @@ with lib;
./spotifyd
./users
./virtualisation
./wireguard
];
config = {