From 71a8dbb956f5735030cd3982263d72f1bffdae23 Mon Sep 17 00:00:00 2001 From: Yegor Timoshenko Date: Mon, 18 Dec 2017 01:14:58 +0000 Subject: [PATCH] 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. --- 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 39b27d4ceb61..4622c7b760f0 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 - }; + config.services.xserver.displayManager.session = cfg.session.list; }