Document how to override attributes in configuration.nix
This commit is contained in:
parent
9d3588e1de
commit
ed6511c96e
|
@ -2,7 +2,7 @@
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
{ config, pkgs, ... }: {
|
{ config, pkgs, lib, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
./modules/nix-bitcoin.nix
|
./modules/nix-bitcoin.nix
|
||||||
|
|
||||||
|
@ -22,6 +22,17 @@
|
||||||
# you are doing.
|
# you are doing.
|
||||||
services.nix-bitcoin.enable = true;
|
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
|
### CLIGHTNING
|
||||||
# Enable this module to use clightning, a Lightning Network implementation
|
# Enable this module to use clightning, a Lightning Network implementation
|
||||||
# in C.
|
# in C.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user