Document how to override attributes in configuration.nix

This commit is contained in:
Jonas Nick 2020-02-23 19:30:32 +00:00
parent 9d3588e1de
commit ed6511c96e
No known key found for this signature in database
GPG Key ID: 4861DBF262123605
1 changed files with 12 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }: {
{ config, pkgs, lib, ... }: {
imports = [
./modules/nix-bitcoin.nix
@ -22,6 +22,17 @@
# you are doing.
services.nix-bitcoin.enable = true;
### BITCOIND
# Bitcoind is enabled by default if nix-bitcoin is enabled
#
# You can override default settings from nix-bitcoin.nix as follows
# services.bitcoind.prune = lib.mkForce 100000;
#
# You can add options that are not defined in modules/bitcoind.nix as follows
# services.bitcoind.extraConfig = ''
# maxorphantx=110
# '';
### CLIGHTNING
# Enable this module to use clightning, a Lightning Network implementation
# in C.