fix(harbor): wg server

This commit is contained in:
Jonas Röger 2025-04-23 00:39:13 +02:00
parent cd2bbd09f4
commit 737ec8f2a8
2 changed files with 4 additions and 2 deletions

View File

@ -62,7 +62,7 @@
services.borg-server.repositories.comfy-station.ssh_public_key = builtins.readFile (../../static/keys + "/borg-jonas@comfy-station.pub");
networking.wg.server.enable = true;
networking.wg.server.privateKey = config.sops.secrets.wg-priv.path;
networking.wg.server.privateKeyFile = config.sops.secrets.wg-priv.path;
# Allow unfree packages
nixpkgs.config.allowUnfree = true;

View File

@ -41,7 +41,9 @@ in {
inherit (cfg) privateKeyFile;
peers = [
peers.jonas
{
inherit (peers.jonas) publicKey allowedIPs;
}
];
};
};