secure-node: add dummy option to determine if the preset is enabled

This is useful for versioning.nix.
This commit is contained in:
Jonas Nick 2021-10-31 13:59:41 +00:00
parent 3e018d0263
commit 347a0f3aee
No known key found for this signature in database
GPG Key ID: 4861DBF262123605

View File

@ -12,6 +12,11 @@ in {
./enable-tor.nix ./enable-tor.nix
]; ];
options = {
# Used by ../versioning.nix
nix-bitcoin.secure-node-preset-enabled = {};
};
config = { config = {
# For backwards compatibility only # For backwards compatibility only
nix-bitcoin.secretsDir = mkDefault "/secrets"; nix-bitcoin.secretsDir = mkDefault "/secrets";