resolved: Init module

This commit is contained in:
SebastianStork 2025-10-12 01:10:25 +02:00
parent de18f587c7
commit 2ffefb5f30
2 changed files with 26 additions and 13 deletions

View file

@ -61,18 +61,5 @@ in
message = mkErrorMessage duplicateUdpPorts;
}
];
meta.ports =
let
resolvedPorts = lib.mkIf config.services.resolved.enable [
53
5353
5355
];
in
{
tcp.list = resolvedPorts;
udp.list = resolvedPorts;
};
};
}