System Gen167 @ 2025-04-24-00:03:37
This commit is contained in:
parent
6af180de05
commit
ce6f87d7ab
@ -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
|
||||
];
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
|
||||
jonas = {
|
||||
publicKey = "oPMapC1S3TPe+/YQulG0AsVsOu+MzZY7huvAAXVJEnM=";
|
||||
ips = ["10.10.10.2/24"];
|
||||
address = ["10.10.10.2/24"];
|
||||
allowedIPs = ["10.10.10.2/32"];
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user