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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user