From e954aba66fc9f038db2e4770a9507ff3f3102e97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 11 Dec 2025 00:03:53 +0100 Subject: [PATCH] nixos/gitea: sort things more natural (cherry picked from commit f089a37e2c5cab7fcb9997c985eb815ea31782f6) --- nixos/modules/services/misc/gitea.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/nixos/modules/services/misc/gitea.nix b/nixos/modules/services/misc/gitea.nix index 668f68b4b66f..70a762368b38 100644 --- a/nixos/modules/services/misc/gitea.nix +++ b/nixos/modules/services/misc/gitea.nix @@ -913,11 +913,10 @@ in ] ++ lib.optional (useSendmail && config.services.postfix.enable) "/var/lib/postfix/queue/maildrop"; UMask = "0027"; - # Capabilities - CapabilityBoundingSet = ""; - # Security - NoNewPrivileges = !useSendmail; + # Sandboxing + CapabilityBoundingSet = ""; + NoNewPrivileges = !useSendmail; ProtectSystem = "strict"; ProtectHome = true; PrivateTmp = true;