nix-bitcoin/modules
Erik Arvstedt 3b842e5fe7
add nix-bitcoin-secrets.target
Remove use of nixops-specific 'keys' group and key services.
Instead:
- Add nix-bitcoin-secrets.target, which should be required by all
  units that depend on secrets. (To keep it simple, it's okay to meet
  the secrets dependency indirectly by e.g. depending on bitcoind.)

  Various secret deployment methods can use this target by
  setting up the secrets before activating the target.
  In case of nixops we just specify that nixops' keys.target comes
  before nix-bitcoin-secrets.target.

  If the target is left undefined in the case of manual secrets
  deployment, systemd will simply ignore unit dependencies on
  the target.

- Allow all users to access the secrets dir.
  The access protection for the individual secret files is unchanged.
  This allows us to drop the unit dependency on the nixops 'keys' group.
2020-01-09 10:43:29 +01:00
..
banlist.cli.txt banlist: simplify script, remove package 2019-11-12 19:42:33 +01:00
bitcoind.nix add nix-bitcoin-secrets.target 2020-01-09 10:43:29 +01:00
clightning.nix add nix-bitcoin-secrets.target 2020-01-09 10:43:29 +01:00
default.nix Add LND support 2019-08-20 23:54:47 +02:00
electrs.nix add nix-bitcoin-secrets.target 2020-01-09 10:43:29 +01:00
hardware-wallets.nix Use types.str instead of types.string to avoid warning 2019-10-28 20:59:15 +00:00
lightning-charge.nix Use types.str instead of types.string to avoid warning 2019-10-28 20:59:15 +00:00
liquid.nix add nix-bitcoin-secrets.target 2020-01-09 10:43:29 +01:00
lnd.nix add nix-bitcoin-secrets.target 2020-01-09 10:43:29 +01:00
nanopos.nix add nix-bitcoin-secrets.target 2020-01-09 10:43:29 +01:00
nix-bitcoin-pkgs.nix Use stable tor module instead of unstable which we had to use because stable didn't support v3 onion services 2019-10-28 20:59:15 +00:00
nix-bitcoin-services.nix Merge #113: Simplify clightning preStart 2019-08-21 14:58:22 +00:00
nix-bitcoin-webindex.nix Use IPAddress{Allow,Deny} by default for systemd services 2019-04-28 13:15:17 +00:00
nix-bitcoin.nix move bitcoinrpc group definition to bitcoind 2019-11-27 14:05:19 +01:00
onion-chef.nix Use IPAddress{Allow,Deny} by default for systemd services 2019-04-28 13:15:17 +00:00
recurring-donations.nix Use types.str instead of types.string to avoid warning 2019-10-28 20:59:15 +00:00
spark-wallet.nix Fix spark-wallet rate lookup 2019-06-16 22:27:31 +00:00