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:
Erik Arvstedt 2025-08-14 12:35:13 +02:00
parent 5031e25469
commit 874b214707
No known key found for this signature in database
GPG key ID: 33312B944DD97846

View file

@ -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