1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-26 21:19:45 +01:00

conky: update systemd exec path to config package

Currently systemd ExecStart uses pks.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 GitHub
parent a46e702093
commit 23411cf93c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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}");
};