add nix-bitcoin.nix for backwards compatibility
This commit is contained in:
parent
28792f79dc
commit
0f8b2e91fd
3
modules/nix-bitcoin.nix
Normal file
3
modules/nix-bitcoin.nix
Normal file
@ -0,0 +1,3 @@
|
||||
# This file exists only for backwards compatibility
|
||||
|
||||
import ./presets/secure-node.nix
|
@ -17,17 +17,8 @@ let
|
||||
in {
|
||||
imports = [ ../modules.nix ];
|
||||
|
||||
options.services.nix-bitcoin = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
If enabled, the nix-bitcoin service will be installed.
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
config = {
|
||||
# For backwards compatibility only
|
||||
nix-bitcoin.secretsDir = mkDefault "/secrets";
|
||||
|
||||
networking.firewall.enable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user