polyunfill: remove policykit suid wrappers

This commit is contained in:
Colin 2024-05-28 05:24:37 +00:00
parent bea1fd95e5
commit cbe6072c03

View File

@ -17,6 +17,9 @@ in
# remove a few items from /run/wrappers we don't need.
options.security.wrappers = lib.mkOption {
apply = lib.filterAttrs (name: _: !(builtins.elem name [
# from <repo:nixos/nixpkgs:nixos/modules/security/polkit.nix>
"pkexec"
"polkit-agent-helper-1"
# from <repo:nixos/nixpkgs:nixos/modules/services/system/dbus.nix>
"dbus-daemon-launch-helper"
# from <repo:nixos/nixpkgs:nixos/modules/security/wrappers/default.nix>