From c268ff5f26f6da54e88348486c9f9fa25e62a2e8 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Tue, 7 Oct 2025 02:31:39 +0200 Subject: [PATCH] nixos/pgadmin: Set ProtectControlGroups to `strict` in service config For documentation see https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#ProtectControlGroups= Signed-off-by: Felix Singer --- nixos/modules/services/admin/pgadmin.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/admin/pgadmin.nix b/nixos/modules/services/admin/pgadmin.nix index 981ae1518b57..7060f0960606 100644 --- a/nixos/modules/services/admin/pgadmin.nix +++ b/nixos/modules/services/admin/pgadmin.nix @@ -241,7 +241,7 @@ in PrivateTmp = true; PrivateUsers = true; ProtectClock = true; - ProtectControlGroups = true; + ProtectControlGroups = "strict"; ProtectHome = true; ProtectHostname = true; ProtectKernelLogs = true;