mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-06 08:47:00 +00:00
services/dnscrypt-proxy: Fix use of pkg alias
`dnscrypt-proxy2` is just an alias for `dnscrypt-proxy`. Use that and avoid eval failures when Nixpkgs is configured with `allowAliases = false`.
This commit is contained in:
parent
5d6e0851b6
commit
fdc512d107
1 changed files with 2 additions and 2 deletions
|
@ -20,12 +20,12 @@ in
|
||||||
|
|
||||||
enable = lib.mkEnableOption "the dnscrypt-proxy service.";
|
enable = lib.mkEnableOption "the dnscrypt-proxy service.";
|
||||||
|
|
||||||
package = lib.mkPackageOption pkgs "dnscrypt-proxy2" { };
|
package = lib.mkPackageOption pkgs "dnscrypt-proxy" { };
|
||||||
|
|
||||||
settings = lib.mkOption {
|
settings = lib.mkOption {
|
||||||
description = ''
|
description = ''
|
||||||
Attrset that is converted and passed as TOML config file.
|
Attrset that is converted and passed as TOML config file.
|
||||||
For available params, see: <https://github.com/DNSCrypt/dnscrypt-proxy/blob/${pkgs.dnscrypt-proxy2.version}/dnscrypt-proxy/example-dnscrypt-proxy.toml>
|
For available params, see: <https://github.com/DNSCrypt/dnscrypt-proxy/blob/${pkgs.dnscrypt-proxy.version}/dnscrypt-proxy/example-dnscrypt-proxy.toml>
|
||||||
'';
|
'';
|
||||||
example = lib.literalExpression ''
|
example = lib.literalExpression ''
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue