mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 19:51:34 +01:00
resolved: Init module
This commit is contained in:
parent
de18f587c7
commit
2ffefb5f30
2 changed files with 26 additions and 13 deletions
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue