From ae03c2f2882db25f73454c6658be73c860ae81c8 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Thu, 9 Apr 2026 14:44:13 -0400 Subject: [PATCH] p2pool: don't disable on power loss p2pool is very light on resources, it's xmrig that should be disabled --- services/monero/p2pool.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/services/monero/p2pool.nix b/services/monero/p2pool.nix index 4550451..2555b1d 100644 --- a/services/monero/p2pool.nix +++ b/services/monero/p2pool.nix @@ -33,12 +33,6 @@ wants = [ "monero.service" ]; }; - # Stop p2pool on UPS battery to conserve power - services.apcupsd.hooks = lib.mkIf config.services.apcupsd.enable { - onbattery = "systemctl stop p2pool"; - offbattery = "systemctl start p2pool"; - }; - networking.firewall.allowedTCPPorts = [ service_configs.ports.public.p2pool_p2p.port ];