diff options
author | Linnnus <[email protected]> | 2023-10-21 13:19:35 +0200 |
---|---|---|
committer | Linnnus <[email protected]> | 2023-10-21 13:20:51 +0200 |
commit | d9ab32316083f2dd5a96378ee9f3dc538dae9cf9 (patch) | |
tree | 0f4ee9d61b6bd3ebfd99ea56a06304643a5a3f2b | |
parent | ed2f087bc11e4bbcaebda6b382ae463e4f78aab5 (diff) |
ahmed: Try shutting down MC server every 10 minutes
-rw-r--r-- | hosts/ahmed/configuration.nix | 3 |
1 files changed, 3 insertions, 0 deletions
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"; |