make secrets dir location configurable

Users of the nix-bitcoin modules shouldn't be forced to add an extra
dir under root.
The secrets location is unchanged for the default node config.
This commit is contained in:
Erik Arvstedt
2020-01-13 00:25:12 +01:00
parent b1e13e9415
commit 826245484e
12 changed files with 38 additions and 32 deletions
+2
View File
@@ -28,6 +28,8 @@ in {
};
config = mkIf cfg.enable {
nix-bitcoin.secretsDir = mkDefault "/secrets";
networking.firewall.enable = true;
# Tor