mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-22 22:33:46 +03:00
improve comments, descriptions
This commit is contained in:
parent
97b1a1d353
commit
9ac3d93b27
@ -30,7 +30,7 @@ in {
|
||||
jq
|
||||
];
|
||||
|
||||
# sshd
|
||||
# Add a SSH onion service
|
||||
services.tor.relay.onionServices.sshd = nbLib.mkOnionService { port = 22; };
|
||||
nix-bitcoin.onionAddresses.access.${operatorName} = [ "sshd" ];
|
||||
|
||||
|
@ -41,7 +41,7 @@ let self = {
|
||||
RestrictAddressFamilies = self.defaultHardening.RestrictAddressFamilies + " AF_NETLINK";
|
||||
};
|
||||
|
||||
# nodejs applications apparently rely on memory write execute
|
||||
# nodejs applications require memory write execute for JIT compilation
|
||||
nodejs = { MemoryDenyWriteExecute = "false"; };
|
||||
|
||||
# Allow takes precedence over Deny.
|
||||
@ -69,7 +69,7 @@ let self = {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Whether to enforce Tor on a service by only allowing connections
|
||||
Whether to enforce Tor on this service by only allowing connections
|
||||
from and to localhost and link-local addresses.
|
||||
'';
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user