From fdd65e5fada5883f4a8a07abc9aa6160e15a22e7 Mon Sep 17 00:00:00 2001 From: Robin Stumm Date: Sun, 1 Dec 2019 15:50:30 +0100 Subject: [PATCH] parcellite: remove obsolete backward compatibility fixes This also fixes that the `gtk.theme` option was not picked up due to hardcoded XDG_DATA_DIRS. --- modules/services/parcellite.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/services/parcellite.nix b/modules/services/parcellite.nix index 455989ffe..45cb33ea8 100644 --- a/modules/services/parcellite.nix +++ b/modules/services/parcellite.nix @@ -33,12 +33,6 @@ in }; Service = { - # PATH have been added in nixpkgs.parcellite, keeping it here for - # backward compatibility. XDG_DATA_DIRS is necessary to make it pick up - # icons correctly. - Environment = '' - PATH=${package}/bin:${pkgs.which}/bin:${pkgs.xdotool}/bin XDG_DATA_DIRS=${pkgs.hicolor_icon_theme}/share - ''; ExecStart = "${package}/bin/parcellite"; Restart = "on-abort"; };