compose2nix
compose2nix copied to clipboard
nftables rule error, unexpected `+`
Hey I don't know if it is because of something having changed with nftables rule checker or something else, but I am getting the following error
error: builder for '/nix/store/9fykz8wi4ssxlq7a1snjq7h17dg3is8f-nftables-rules.drv' failed with exit code 1;
last 3 log lines:
> ruleset.conf:48:15-15: Error: syntax error, unexpected +, expecting newline or semicolon
> iifname podman+ udp dport { 53 } accept
> ^
For full logs, run 'nix log /nix/store/9fykz8wi4ssxlq7a1snjq7h17dg3is8f-nftables-rules.drv'.
when trying to build NixOS with a nix-file created from compose2nix. The problems seem to be with
networking.firewall.interfaces."podman+".allowedUDPPorts = [ 53 ];
if I rename it to
networking.firewall.interfaces."podman1".allowedUDPPorts = [ 53 ];
I don't get the error. Does anyone have the same problem or know what I am doing wrong?