Skip to content

Commit

Permalink
nixos/tests/dnsdist: fix dnscrypt test
Browse files Browse the repository at this point in the history
  • Loading branch information
rnhmjoj committed Oct 6, 2024
1 parent 1eb9b57 commit cf614ee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nixos/tests/dnsdist.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
'';
}
];

Expand Down

0 comments on commit cf614ee

Please sign in to comment.