I am user home-manager and would like to start tint2 as a service. The following works:
Service = {
Type = "forking";
ExecStart = "${pkgs.tint2}/bin/tint2 -c /home/zeec/.config/tint2/neon/neon.tint2rc";
Restart = "on-failure";
};
however, I would like to replace “/home/zeec/.config” with $XDG_CONFIG_HOME. But this does not seem to work. How can I achieve this?