alpine: monerod

This commit is contained in:
Tristan 2024-05-10 17:28:25 +01:00
parent 4d2f26c98f
commit 457faf8c0c
2 changed files with 16 additions and 0 deletions

View file

@ -68,6 +68,7 @@
./nixos/services/nextcloud.nix
./nixos/services/ntfy.nix
./nixos/services/authentik.nix
./nixos/services/monero.nix
] [];
vm-sway =

15
nixos/services/monero.nix Normal file
View 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
'';
};
}