secure-node: add dummy option to determine if the preset is enabled
This is useful for versioning.nix.
This commit is contained in:
parent
3e018d0263
commit
347a0f3aee
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user