Unverified Commit daebf5c6 authored by K900's avatar K900 Committed by GitHub
Browse files

Merge pull request #254071 from alois31/plasma-setuid

nixos/plasma5: remove pointless setuid wrappers
parents 20c84e9f bd0cbb43
Loading
Loading
Loading
Loading
+4 −9
Original line number Diff line number Diff line
@@ -172,24 +172,19 @@ in
    (mkIf (cfg.enable || cfg.mobile.enable || cfg.bigscreen.enable) {

      security.wrappers = {
        kscreenlocker_greet = {
          setuid = true;
        kwin_wayland = {
          owner = "root";
          group = "root";
          source = "${getBin libsForQt5.kscreenlocker}/libexec/kscreenlocker_greet";
          capabilities = "cap_sys_nice+ep";
          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";
        };
        kwin_wayland = {
          owner = "root";
          group = "root";
          capabilities = "cap_sys_nice+ep";
          source = "${getBin plasma5.kwin}/bin/kwin_wayland";
        };
      };

      environment.systemPackages =