From d9ab32316083f2dd5a96378ee9f3dc538dae9cf9 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Sat, 21 Oct 2023 13:19:35 +0200 Subject: ahmed: Try shutting down MC server every 10 minutes --- hosts/ahmed/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hosts/ahmed/configuration.nix') diff --git a/hosts/ahmed/configuration.nix b/hosts/ahmed/configuration.nix index 79b9ff9..945f29c 100644 --- a/hosts/ahmed/configuration.nix +++ b/hosts/ahmed/configuration.nix @@ -41,6 +41,8 @@ eula = true; package = pkgs.papermc; openFirewall = true; + # Try shutting down every 10 minutes. + frequency-check-players = "*-*-* *:00/10:00"; }; services.cloudflare-dyndns.domains = ["minecraft.linus.onl"]; @@ -87,6 +89,7 @@ services.disable-screen = { enable = true; + # The path to the device. device-path = "/sys/class/backlight/intel_backlight"; -- cgit v1.2.3