[vpn] init wireguard
All checks were successful
Evaluate Hydra Jobs / eval-hydra-jobs (push) Successful in 3m57s

This commit is contained in:
2024-12-17 23:04:50 +01:00
parent bf2c801597
commit b6aef85860
2 changed files with 9 additions and 1 deletions

View File

@@ -3,6 +3,8 @@
with lib;
{
sops.secrets.wg_private = {};
networking = {
hostName = mkDefault "vpn";
useDHCP = false;
@@ -15,6 +17,12 @@ with lib;
../modules/minimal_tools.nix
];
services.malobeo.vpn = {
enable = true;
name = "vpn";
privateKey = config.sops.secrets.wg_private.path;
};
system.stateVersion = "22.11"; # Did you read the comment?
}