nixosTests.kea: use knot.settings for configuration

This commit is contained in:
Martin Weinelt 2023-07-09 23:32:58 +02:00 committed by Vladimír Čunát
parent 8e93f353cc
commit 45e71a7a99
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -134,31 +134,32 @@ import ./make-test-python.nix ({ pkgs, lib, ...}: {
extraArgs = [ extraArgs = [
"-v" "-v"
]; ];
extraConfig = '' settings = {
server: server.listen = [
listen: 0.0.0.0@53 "0.0.0.0@53"
];
log: log.syslog.any = "info";
- target: syslog
any: debug
acl: acl.dhcp_ddns = {
- id: dhcp_ddns address = "10.0.0.1";
address: 10.0.0.1 action = "update";
action: update };
template: template.default = {
- id: default storage = zonesDir;
storage: ${zonesDir} zonefile-sync = "-1";
zonefile-sync: -1 zonefile-load = "difference-no-serial";
zonefile-load: difference-no-serial journal-content = "all";
journal-content: all };
zone: zone."lan.nixos.test" = {
- domain: lan.nixos.test file = "lan.nixos.test.zone";
file: lan.nixos.test.zone acl = [
acl: [dhcp_ddns] "dhcp_ddns"
''; ];
};
};
}; };
}; };