diff --git a/modules/services/conky.nix b/modules/services/conky.nix index bf7eeea8b..657c29bf5 100644 --- a/modules/services/conky.nix +++ b/modules/services/conky.nix @@ -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}"); };