From f0f0fcee17a3c1165b17394484b4c2bd9dd688e5 Mon Sep 17 00:00:00 2001 From: Felix Singer Date: Tue, 7 Oct 2025 02:31:22 +0200 Subject: [PATCH] nixos/pgadmin: Enable PrivateUsers hardening in service config For documentation see https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#PrivateUsers= Signed-off-by: Felix Singer --- nixos/modules/services/admin/pgadmin.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/admin/pgadmin.nix b/nixos/modules/services/admin/pgadmin.nix index 4a5f34ab084b..981ae1518b57 100644 --- a/nixos/modules/services/admin/pgadmin.nix +++ b/nixos/modules/services/admin/pgadmin.nix @@ -239,6 +239,7 @@ in PrivateDevices = true; PrivateMounts = true; PrivateTmp = true; + PrivateUsers = true; ProtectClock = true; ProtectControlGroups = true; ProtectHome = true;