alpine: monerod
This commit is contained in:
parent
4d2f26c98f
commit
457faf8c0c
2 changed files with 16 additions and 0 deletions
|
|
@ -68,6 +68,7 @@
|
||||||
./nixos/services/nextcloud.nix
|
./nixos/services/nextcloud.nix
|
||||||
./nixos/services/ntfy.nix
|
./nixos/services/ntfy.nix
|
||||||
./nixos/services/authentik.nix
|
./nixos/services/authentik.nix
|
||||||
|
./nixos/services/monero.nix
|
||||||
] [];
|
] [];
|
||||||
|
|
||||||
vm-sway =
|
vm-sway =
|
||||||
|
|
|
||||||
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