alpine: monerod
This commit is contained in:
parent
4d2f26c98f
commit
457faf8c0c
2 changed files with 16 additions and 0 deletions
15
nixos/services/monero.nix
Normal file
15
nixos/services/monero.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{...}: {
|
||||
services.monero = {
|
||||
enable = true;
|
||||
rpc = {
|
||||
address = "0.0.0.0";
|
||||
restricted = true;
|
||||
};
|
||||
extraConfig = ''
|
||||
prune-blockchain=1
|
||||
confirm-external-bind=1
|
||||
out-peers=64 # This will enable much faster sync and tx awareness; the default 8 is suboptimal nowadays
|
||||
in-peers=1024 # The default is unlimited; we prefer to put a cap on this
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue