1
1
Fork 1
mirror of https://github.com/oddlama/nixos-extra-modules.git synced 2025-10-10 22:00:39 +02:00

fix: typo prevented zone creation

This commit is contained in:
oddlama 2024-03-14 21:13:05 +01:00
parent f4d9891554
commit a4f79d7479
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 2 additions and 2 deletions

View file

@ -170,7 +170,7 @@
// listToAttrs (flip map participatingNodes (
peer:
nameValuePair "wg-${wgCfg.linkName}-node-${peer}-to-${localZoneName}" (
mkIf (wgCfg.firewallRuleForNode ? peer) {
mkIf (wgCfg.firewallRuleForNode ? ${peer}) {
from = ["wg-${wgCfg.linkName}-node-${peer}"];
to = [localZoneName];
ignoreEmptyRule = true;