plasma5: run kbuildsycoca5 in the user context
This commit is contained in:
parent
8118d6eb2e
commit
4dada63a17
@ -225,11 +225,8 @@ in
|
|||||||
security.pam.services.sddm.enableKwallet = true;
|
security.pam.services.sddm.enableKwallet = true;
|
||||||
security.pam.services.slim.enableKwallet = true;
|
security.pam.services.slim.enableKwallet = true;
|
||||||
|
|
||||||
# Update the start menu for each user that has `isNormalUser` set.
|
# Update the start menu for each user that is currently logged in
|
||||||
system.activationScripts.plasmaSetup = stringAfter [ "users" "groups" ]
|
system.userActivationScripts.plasmaSetup = "${pkgs.libsForQt5.kservice}/bin/kbuildsycoca5";
|
||||||
(concatStringsSep "\n"
|
|
||||||
(mapAttrsToList (name: value: "${pkgs.su}/bin/su ${name} -c ${pkgs.libsForQt5.kservice}/bin/kbuildsycoca5")
|
|
||||||
(filterAttrs (n: v: v.isNormalUser) config.users.users)));
|
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user