examples: add importable-configuration.nix

This replaces minimal-configuration.nix.
importable-configuration.nix can be directly added to an existing
NixOS configuration. This makes it easy for users to get started quickly.
This commit is contained in:
Erik Arvstedt
2021-09-23 16:51:34 +02:00
parent 020d9486dd
commit d713e7b15c
6 changed files with 81 additions and 35 deletions

View File

@@ -25,8 +25,12 @@
# "${nix-bitcoin}/modules/presets/secure-node.nix"
{
# Automatically generate all secrets required by services.
# The secrets are stored in /etc/nix-bitcoin-secrets
nix-bitcoin.generateSecrets = true;
# Enable services.
# See ../configuration.nix for all available features.
services.bitcoind.enable = true;
# When using nix-bitcoin as part of a larger NixOS configuration, set the following to enable