fix: firewall rules for forward
This commit is contained in:
parent
423e8477ea
commit
2c8b67b8f9
|
@ -1558,11 +1558,10 @@
|
|||
"locked": {
|
||||
"lastModified": 1734643696,
|
||||
"narHash": "sha256-W5JSWhhThI9erzhZmpHy1gZGwSxEGPKYmOUBEXH/WGA=",
|
||||
"ref": "refs/heads/main",
|
||||
"owner": "oddlama",
|
||||
"repo": "nixos-extra-modules",
|
||||
"rev": "6a4736e0773a1852b0b6c5f71cbe96dd39c3caf1",
|
||||
"revCount": 40,
|
||||
"type": "git",
|
||||
"url": "file:///home/patrick/repos/nix/nixos-extra-modules"
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "oddlama",
|
||||
|
|
|
@ -43,7 +43,7 @@ let
|
|||
"home"
|
||||
];
|
||||
to = [ service ];
|
||||
"allowed${toUpper protocol}Ports" = ports;
|
||||
"allowed${toUpper protocol}Ports" = if fport != null then [ fport ] else ports;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue