nix-stuff/nixpkgs-patches/pr455128.patch

22 lines
767 B
Diff

From 2e9d838795edcec2b79dda0284acf27ee34b1ecc Mon Sep 17 00:00:00 2001
From: h7x4 <h7x4@nani.wtf>
Date: Fri, 24 Oct 2025 14:24:14 +0900
Subject: [PATCH] nixos/rtkit: fix hardening
---
nixos/modules/security/rtkit.nix | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nixos/modules/security/rtkit.nix b/nixos/modules/security/rtkit.nix
index d7c6df17f03b9..f2cd256468da9 100644
--- a/nixos/modules/security/rtkit.nix
+++ b/nixos/modules/security/rtkit.nix
@@ -64,7 +64,7 @@ in
];
# Needs to verify the user of the processes.
- PrivateUsers = "full";
+ PrivateUsers = false;
# Needs to access other processes to modify their scheduling modes.
ProcSubset = "all";
ProtectProc = "default";