examples/configuration.nix: improve secure-node preset documentation
Explicitly import modules.nix, so that users can remove the secure-node.nix import.
This commit is contained in:
parent
5031e25469
commit
874b214707
1 changed files with 6 additions and 0 deletions
|
|
@ -4,6 +4,12 @@
|
||||||
|
|
||||||
{ config, pkgs, lib, ... }: {
|
{ config, pkgs, lib, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
|
<nix-bitcoin/modules/modules.nix>
|
||||||
|
|
||||||
|
# FIXME: The secure-node preset is an opinionated config to enhance security
|
||||||
|
# and privacy.
|
||||||
|
# Among other settings, it routes traffic of all nix-bitcoin services through Tor.
|
||||||
|
# Turn it off when not needed.
|
||||||
<nix-bitcoin/modules/presets/secure-node.nix>
|
<nix-bitcoin/modules/presets/secure-node.nix>
|
||||||
|
|
||||||
# FIXME: The hardened kernel profile improves security but
|
# FIXME: The hardened kernel profile improves security but
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue