System Gen167 @ 2025-04-24-00:03:37
This commit is contained in:
@@ -26,11 +26,11 @@ in {
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
networking.firewall.allowedUDPPorts = [cfg.port];
|
||||
networking.wireguard.interfaces.wg0 = {
|
||||
inherit (peers.jonas) ips;
|
||||
networking.wg-quick.interfaces.wg0 = {
|
||||
inherit (peers.jonas) address;
|
||||
inherit (cfg) privateKeyFile;
|
||||
listenPort = cfg.port;
|
||||
|
||||
autostart = cfg.autoConnect;
|
||||
peers = [
|
||||
peers.harbor
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user