services: use new 'tor' options
This commit is contained in:
parent
e44f78ebb8
commit
178a0dcf8f
18 changed files with 56 additions and 39 deletions
|
|
@ -193,7 +193,7 @@ in {
|
|||
};
|
||||
proxy = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = if cfg.enforceTor then config.services.tor.client.socksListenAddress else null;
|
||||
default = if cfg.enforceTor then config.nix-bitcoin.torClientAddressWithPort else null;
|
||||
description = "Connect through SOCKS5 proxy";
|
||||
};
|
||||
listen = mkOption {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue