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:
parent
445d721ecf
commit
16fe78182e
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