From 7b791e1de7e3331d331d3e4b4c86075a8c51e080 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Tue, 7 Oct 2025 02:18:22 +0200 Subject: [PATCH] nixos/uptime-kuma: Enable MountAPIVFS hardening in service config This setting is already implied by others, but add it for completeness as well. For documentation see https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#MountAPIVFS= Signed-off-by: Felix Singer --- nixos/modules/services/monitoring/uptime-kuma.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/monitoring/uptime-kuma.nix b/nixos/modules/services/monitoring/uptime-kuma.nix index a5da7e471552..5d75d270967b 100644 --- a/nixos/modules/services/monitoring/uptime-kuma.nix +++ b/nixos/modules/services/monitoring/uptime-kuma.nix @@ -60,6 +60,7 @@ in CapabilityBoundingSet = ""; LockPersonality = true; MemoryDenyWriteExecute = false; # enabling it breaks execution + MountAPIVFS = true; NoNewPrivileges = true; PrivateDevices = true; PrivateMounts = true;