modules: move nix-bitcoin options to file 'nix-bitcoin.nix'

This allows modules.nix to consist only of a list of modules.
This commit is contained in:
Erik Arvstedt 2021-08-15 11:28:45 +02:00
parent fdc278a0b8
commit cce9a3f6b2
No known key found for this signature in database
GPG key ID: 33312B944DD97846
3 changed files with 55 additions and 62 deletions

View file

@ -1,6 +1,6 @@
{ config, pkgs, lib, ... }: {
imports = [
<nix-bitcoin/modules/nix-bitcoin.nix>
<nix-bitcoin/modules/modules.nix>
];
nix-bitcoin.generateSecrets = true;