From f9415cb6219de00903f62a1f0facc4852225118c Mon Sep 17 00:00:00 2001 From: Yegor Timoshenko Date: Tue, 10 Oct 2017 15:46:33 +0000 Subject: [PATCH] desktop-managers: do not leak feh to PATH 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. --- nixos/modules/services/x11/desktop-managers/default.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/nixos/modules/services/x11/desktop-managers/default.nix b/nixos/modules/services/x11/desktop-managers/default.nix index 13f339e3fbf3..6509a8a16c98 100644 --- a/nixos/modules/services/x11/desktop-managers/default.nix +++ b/nixos/modules/services/x11/desktop-managers/default.nix @@ -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; }