From 347a0f3aeeb41b6ea05d184b3b6ffb154e958ce9 Mon Sep 17 00:00:00 2001 From: Jonas Nick Date: Sun, 31 Oct 2021 13:59:41 +0000 Subject: [PATCH] secure-node: add dummy option to determine if the preset is enabled This is useful for versioning.nix. --- modules/presets/secure-node.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/presets/secure-node.nix b/modules/presets/secure-node.nix index 7b72aa6..81f9057 100644 --- a/modules/presets/secure-node.nix +++ b/modules/presets/secure-node.nix @@ -12,6 +12,11 @@ in { ./enable-tor.nix ]; + options = { + # Used by ../versioning.nix + nix-bitcoin.secure-node-preset-enabled = {}; + }; + config = { # For backwards compatibility only nix-bitcoin.secretsDir = mkDefault "/secrets";