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:
parent
445d721ecf
commit
16fe78182e
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ in with lib; {
|
||||||
Service = {
|
Service = {
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
RestartSec = "3";
|
RestartSec = "3";
|
||||||
ExecStart = toString ([ "${pkgs.conky}/bin/conky" ]
|
ExecStart = toString ([ "${cfg.package}/bin/conky" ]
|
||||||
++ optional (cfg.extraConfig != "")
|
++ optional (cfg.extraConfig != "")
|
||||||
"--config ${pkgs.writeText "conky.conf" cfg.extraConfig}");
|
"--config ${pkgs.writeText "conky.conf" cfg.extraConfig}");
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue