1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-28 04:39:48 +01:00

conky: update systemd exec path to config package

Currently systemd ExecStart uses pkgs.conky as executable path, this
commit changes it to the package defined by services.conky.package.
This commit is contained in:
Nithin S Varrier 2024-11-22 22:52:15 +05:30 committed by Robert Helgesson
parent 445d721ecf
commit 16fe78182e
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -41,7 +41,7 @@ in with lib; {
Service = {
Restart = "always";
RestartSec = "3";
ExecStart = toString ([ "${pkgs.conky}/bin/conky" ]
ExecStart = toString ([ "${cfg.package}/bin/conky" ]
++ optional (cfg.extraConfig != "")
"--config ${pkgs.writeText "conky.conf" cfg.extraConfig}");
};