mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
* Synced with trunk @ 15326
svn path=/nixos/branches/modular-nixos/; revision=15366
This commit is contained in:
parent
e28250470f
commit
cc7f5eba97
@ -33,6 +33,15 @@ mkIf cfg.enable {
|
||||
session = [{
|
||||
name = "kde";
|
||||
start = ''
|
||||
# A quick hack to make KDE screen locking work. It calls
|
||||
# kcheckpass, which needs to be setuid in order to read the
|
||||
# shadow password file. We have a setuid wrapper around
|
||||
# kcheckpass. However, startkde adds $kdebase/bin to the start
|
||||
# of $PATH if it's not already in $PATH, thus overriding the
|
||||
# setuid wrapper directory. So here we add $kdebase/bin to the
|
||||
# end of $PATH to keep startkde from doing that.
|
||||
export PATH=$PATH:${pkgs.kdebase}/bin
|
||||
|
||||
# Start KDE.
|
||||
exec ${pkgs.kdebase}/bin/startkde
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user