Skip to content

Commit

Permalink
desktop-managers: do not leak feh to PATH
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lukateras committed Oct 10, 2017
1 parent ef291b5 commit f9415cb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions nixos/modules/services/x11/desktop-managers/default.nix
Expand Up @@ -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
};
xcfg.displayManager.session = cfg.session.list;
}

0 comments on commit f9415cb

Please sign in to comment.