From d916c8f36a04089e52eb4b28fcee381bbab0aa76 Mon Sep 17 00:00:00 2001 From: Toast Date: Sat, 1 Nov 2025 18:44:01 +0100 Subject: [PATCH] Revert "Flake: add nixpkgs patch to fix rtkit" This reverts commit 13c1d5864dc944653e9d48130ce9e745ac5bfb90. --- flake.nix | 1 - nixpkgs-patches/pr455128.patch | 22 ---------------------- 2 files changed, 23 deletions(-) delete mode 100644 nixpkgs-patches/pr455128.patch diff --git a/flake.nix b/flake.nix index 630bad0..0392399 100644 --- a/flake.nix +++ b/flake.nix @@ -101,7 +101,6 @@ name = "patched-nixpkgs-unstable"; src = nixpkgs-unstable-raw; patches = [ - ./nixpkgs-patches/pr455128.patch ]; }; nixpkgs-patched = nixpkgs-raw.legacyPackages.x86_64-linux.applyPatches { diff --git a/nixpkgs-patches/pr455128.patch b/nixpkgs-patches/pr455128.patch deleted file mode 100644 index c44ebb6..0000000 --- a/nixpkgs-patches/pr455128.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 2e9d838795edcec2b79dda0284acf27ee34b1ecc Mon Sep 17 00:00:00 2001 -From: h7x4 -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";