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