nixos/desktop-managers: do not leak feh to PATH

(originally from f9415cb621)

feh is used to set background image for desktop managers that do not
support it directly, however there is no need to include it in PATH.

Fixes #17450.
This commit is contained in:
Yegor Timoshenko 2017-12-18 01:14:58 +00:00 committed by Orivej Desh
parent c8a4e906de
commit 71a8dbb956

View File

@ -109,9 +109,5 @@ in
};
config = {
services.xserver.displayManager.session = cfg.session.list;
environment.systemPackages =
mkIf cfg.session.needBGPackages [ pkgs.feh ]; # xsetroot via xserver.enable
};
config.services.xserver.displayManager.session = cfg.session.list;
}