improve comments, descriptions

This commit is contained in:
Erik Arvstedt 2022-07-14 23:45:27 +02:00
parent 97b1a1d353
commit 9ac3d93b27
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
2 changed files with 3 additions and 3 deletions

View File

@ -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" ];

View File

@ -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.
'';
};