zaphyra's git: nixfiles

zaphyra's nixfiles

commit 2069226f892262a511d871655cac067038214d37
parent cc9c12800927162b55a906e68f5125caa3a02e4e
Author: Katja Ramona Sophie Kwast (zaphyra) <git@zaphyra.eu>
Date: Tue, 19 Aug 2025 12:17:04 +0200

config/home-manager/zaphyra/programs/thunderbird: update service `PATH`
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/config/home-manager/zaphyra/programs/thunderbird.nix b/config/home-manager/zaphyra/programs/thunderbird.nix
@@ -19,7 +19,12 @@
     Unit.PartOf = [ "graphical-session.target" ];
 
     Service = {
-      Environment = "PATH=/run/wrappers/bin:/home/${config.home.username}/.nix-profile/bin:/etc/profiles/per-user/${config.home.username}/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin";
+      Environment = "PATH=" + (lib.makeBinPath [
+        "/run/wrappers"
+        "/home/${config.home.username}/.nix-profile"
+        "/nix/var/nix/profiles/default"
+        "/run/current-system/sw"
+      ]);
       ExecStart = lib.getExe pkgs.thunderbird;
       Restart = "always";
       RestartSec = 5;