Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 64c1ea18e0 | |||
| 1a866719ea | |||
| a0125116cd |
@@ -80,17 +80,21 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ config.services.bind.listenOnPort ];
|
environment.persistence."/persist".directories = [
|
||||||
networking.firewall.allowedUDPPorts = [ config.services.bind.listenOnPort ];
|
|
||||||
|
|
||||||
environment.persistence."/persist" = {
|
|
||||||
directories = [
|
|
||||||
{
|
{
|
||||||
directory = "/var/dns";
|
directory = "/var/dns";
|
||||||
group = "named";
|
group = "named";
|
||||||
user = "named";
|
user = "named";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
networking.firewall =
|
||||||
|
let
|
||||||
|
ports = [ config.services.bind.listenOnPort ];
|
||||||
|
in
|
||||||
|
{
|
||||||
|
allowedTCPPorts = ports;
|
||||||
|
allowedUDPPorts = ports;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user