Merge pull request #254071 from alois31/plasma-setuid

nixos/plasma5: remove pointless setuid wrappers
This commit is contained in:
K900 2023-09-22 14:21:03 +03:00 committed by GitHub
commit daebf5c6e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -172,24 +172,19 @@ in
(mkIf (cfg.enable || cfg.mobile.enable || cfg.bigscreen.enable) { (mkIf (cfg.enable || cfg.mobile.enable || cfg.bigscreen.enable) {
security.wrappers = { security.wrappers = {
kscreenlocker_greet = {
setuid = true;
owner = "root";
group = "root";
source = "${getBin libsForQt5.kscreenlocker}/libexec/kscreenlocker_greet";
};
start_kdeinit = {
setuid = true;
owner = "root";
group = "root";
source = "${getBin libsForQt5.kinit}/libexec/kf5/start_kdeinit";
};
kwin_wayland = { kwin_wayland = {
owner = "root"; owner = "root";
group = "root"; group = "root";
capabilities = "cap_sys_nice+ep"; capabilities = "cap_sys_nice+ep";
source = "${getBin plasma5.kwin}/bin/kwin_wayland"; source = "${getBin plasma5.kwin}/bin/kwin_wayland";
}; };
} // mkIf (!cfg.runUsingSystemd) {
start_kdeinit = {
setuid = true;
owner = "root";
group = "root";
source = "${getBin libsForQt5.kinit}/libexec/kf5/start_kdeinit";
};
}; };
environment.systemPackages = environment.systemPackages =