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:
parent
a46e702093
commit
23411cf93c
1 changed files with 1 additions and 1 deletions
|
@ -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}");
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue