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
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue