mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
nixos/tests/dnsdist: fix dnscrypt test
This commit is contained in:
parent
1eb9b5739d
commit
cf614ee789
@ -64,7 +64,10 @@ in
|
||||
networking.firewall.allowedTCPPorts = [ 443 ];
|
||||
networking.firewall.allowedUDPPorts = [ 443 ];
|
||||
services.dnsdist.dnscrypt.enable = true;
|
||||
services.dnsdist.dnscrypt.providerKey = "${./dnscrypt-wrapper/secret.key}";
|
||||
services.dnsdist.dnscrypt.providerKey = pkgs.runCommand "dnscrypt-secret.key" {} ''
|
||||
echo 'R70+xqm7AaDsPtDgpSjSG7KHvEqVf6u6PZ+E3cGPbOwUQdg6/
|
||||
RIIpK6pHkINhrv7nxwIG5c7b/m5NJVT3A1AXQ==' | base64 -id > "$out"
|
||||
'';
|
||||
}
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user