nixos/desktop-managers: do not leak feh to PATH
(originally from f9415cb6219de00903f62a1f0facc4852225118c) 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:
parent
c8a4e906de
commit
71a8dbb956
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user