Skip to content

Commit

Permalink
Merge pull request #42910 from bkchr/kde_update_start_menu
Browse files Browse the repository at this point in the history
services.plasma5: Update start menu with an activationScript
  • Loading branch information
Thomas Tuegel committed Jul 14, 2018
2 parents 6a1b65b + 8b3fb83 commit 1301973
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nixos/modules/services/x11/desktop-managers/plasma5.nix
Expand Up @@ -221,6 +221,11 @@ in
security.pam.services.sddm.enableKwallet = true;
security.pam.services.slim.enableKwallet = true;

# 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")
(filterAttrs (n: v: v.isNormalUser) config.users.users)));
})
];

Expand Down

0 comments on commit 1301973

Please sign in to comment.