diff --git a/nixos/modules/services/x11/desktop-managers/plasma5.nix b/nixos/modules/services/x11/desktop-managers/plasma5.nix index 17733aa7e4f..83d1957a646 100644 --- a/nixos/modules/services/x11/desktop-managers/plasma5.nix +++ b/nixos/modules/services/x11/desktop-managers/plasma5.nix @@ -224,7 +224,7 @@ in # Update the start menu for each user that has `isNormalUser` set. system.activationScripts.plasmaSetup = stringAfter [ "users" "groups" ] (concatStringsSep "\n" - (mapAttrsToList (name: value: "${pkgs.su}/bin/su ${name} -c kbuildsycoca5") + (mapAttrsToList (name: value: "${pkgs.su}/bin/su ${name} -c ${pkgs.libsForQt5.kservice}/bin/kbuildsycoca5") (filterAttrs (n: v: v.isNormalUser) config.users.users))); }) ];