mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-23 06:42:51 +03:00
improve comments, descriptions
This commit is contained in:
parent
97b1a1d353
commit
9ac3d93b27
@ -30,7 +30,7 @@ in {
|
|||||||
jq
|
jq
|
||||||
];
|
];
|
||||||
|
|
||||||
# sshd
|
# Add a SSH onion service
|
||||||
services.tor.relay.onionServices.sshd = nbLib.mkOnionService { port = 22; };
|
services.tor.relay.onionServices.sshd = nbLib.mkOnionService { port = 22; };
|
||||||
nix-bitcoin.onionAddresses.access.${operatorName} = [ "sshd" ];
|
nix-bitcoin.onionAddresses.access.${operatorName} = [ "sshd" ];
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ let self = {
|
|||||||
RestrictAddressFamilies = self.defaultHardening.RestrictAddressFamilies + " AF_NETLINK";
|
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"; };
|
nodejs = { MemoryDenyWriteExecute = "false"; };
|
||||||
|
|
||||||
# Allow takes precedence over Deny.
|
# Allow takes precedence over Deny.
|
||||||
@ -69,7 +69,7 @@ let self = {
|
|||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
description = ''
|
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.
|
from and to localhost and link-local addresses.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user