fix(harbor): wg server
This commit is contained in:
parent
cd2bbd09f4
commit
737ec8f2a8
@ -62,7 +62,7 @@
|
|||||||
services.borg-server.repositories.comfy-station.ssh_public_key = builtins.readFile (../../static/keys + "/borg-jonas@comfy-station.pub");
|
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.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
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|||||||
@ -41,7 +41,9 @@ in {
|
|||||||
inherit (cfg) privateKeyFile;
|
inherit (cfg) privateKeyFile;
|
||||||
|
|
||||||
peers = [
|
peers = [
|
||||||
peers.jonas
|
{
|
||||||
|
inherit (peers.jonas) publicKey allowedIPs;
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user