mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
22 lines
438 B
Nix
22 lines
438 B
Nix
|
import ./make-test-python.nix ({pkgs, lib, ...}:
|
||
|
{
|
||
|
name = "technitium-dns-server";
|
||
|
|
||
|
nodes = {
|
||
|
machine = {pkgs, ...}: {
|
||
|
services.technitium-dns-server = {
|
||
|
enable = true;
|
||
|
openFirewall = true;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
|
||
|
testScript = ''
|
||
|
start_all()
|
||
|
machine.wait_for_unit("technitium-dns-server.service")
|
||
|
machine.wait_for_open_port(53)
|
||
|
'';
|
||
|
|
||
|
meta.maintainers = with lib.maintainers; [ fabianrig ];
|
||
|
})
|