1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

refactor: adjust wireguard accessors to use globals

This commit is contained in:
oddlama 2025-09-13 21:14:50 +02:00
parent 157c303f38
commit b885d1062b
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
28 changed files with 169 additions and 133 deletions

View file

@ -53,13 +53,11 @@ in
rules = [ "ct status dnat accept" ];
};
wireguard.proxy-sentinel.server = {
globals.wireguard.proxy-sentinel = {
host = config.networking.fqdn;
port = 51443;
reservedAddresses = [
"10.43.0.0/24"
"fd00:43::/120"
];
cidrv4 = "10.43.0.0/24";
cidrv6 = "fd00:43::/120";
openFirewall = true;
};
}