configuration.nix: reorder sections

Move backups and netns-isolation to the end.
This commit is contained in:
Erik Arvstedt 2021-08-15 11:28:32 +02:00
parent 3734ab38a6
commit c041079ae1
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -160,13 +160,6 @@
# `docs/usage.md`. # `docs/usage.md`.
# services.hardware-wallets.trezor = true; # services.hardware-wallets.trezor = true;
### netns-isolation (EXPERIMENTAL)
# Enable this module to use Network Namespace Isolation. This feature places
# every service in its own network namespace and only allows truly necessary
# connections between network namespaces, making sure services are isolated on
# a network-level as much as possible.
# nix-bitcoin.netns-isolation.enable = true;
### lightning-loop ### lightning-loop
# Set this to enable lightninglab's non-custodial off/on chain bridge. # Set this to enable lightninglab's non-custodial off/on chain bridge.
# services.lightning-loop.enable = true; # services.lightning-loop.enable = true;
@ -175,7 +168,6 @@
# interact with off/on chain bridge using `loop in` and `loop out`. # interact with off/on chain bridge using `loop in` and `loop out`.
# Automatically enables lnd. # Automatically enables lnd.
### lightning-pool ### lightning-pool
# Set this to enable Lightning Lab's non-custodial batched uniform # Set this to enable Lightning Lab's non-custodial batched uniform
# clearing-price auction for Lightning Channel Leases. # clearing-price auction for Lightning Channel Leases.
@ -198,6 +190,20 @@
# services.charge-lnd.policies = '' # services.charge-lnd.policies = ''
# ''; # '';
### JOINMARKET
# Set this to enable the JoinMarket service, including its command-line scripts.
# These scripts have prefix 'jm-', like 'jm-tumbler'.
# Note: JoinMarket has full access to bitcoind, including its wallet functionality.
# services.joinmarket.enable = true;
#
# Set this to enable the JoinMarket Yield Generator Bot. You will be able to
# earn sats by providing CoinJoin liquidity. This makes it impossible to use other
# scripts that access your wallet.
# services.joinmarket.yieldgenerator.enable = true;
#
# Set this to enable the JoinMarket order book watcher.
# services.joinmarket-ob-watcher.enable = true;
### Backups ### Backups
# Set this to enable nix-bitcoin's own backup service. By default, it # Set this to enable nix-bitcoin's own backup service. By default, it
# uses duplicity to incrementally back up all important files in /var/lib to # uses duplicity to incrementally back up all important files in /var/lib to
@ -220,19 +226,12 @@
# and electrs data directory, enable # and electrs data directory, enable
# services.backups.with-bulk-data = true; # services.backups.with-bulk-data = true;
### JOINMARKET ### netns-isolation (EXPERIMENTAL)
# Set this to enable the JoinMarket service, including its command-line scripts. # Enable this module to use Network Namespace Isolation. This feature places
# These scripts have prefix 'jm-', like 'jm-tumbler'. # every service in its own network namespace and only allows truly necessary
# Note: JoinMarket has full access to bitcoind, including its wallet functionality. # connections between network namespaces, making sure services are isolated on
# services.joinmarket.enable = true; # a network-level as much as possible.
# # nix-bitcoin.netns-isolation.enable = true;
# Set this to enable the JoinMarket Yield Generator Bot. You will be able to
# earn sats by providing CoinJoin liquidity. This makes it impossible to use other
# scripts that access your wallet.
# services.joinmarket.yieldgenerator.enable = true;
#
# Set this to enable the JoinMarket order book watcher.
# services.joinmarket-ob-watcher.enable = true;
# FIXME: Define your hostname. # FIXME: Define your hostname.
networking.hostName = "host"; networking.hostName = "host";