From 23411cf93c4dcaee08f75911c2dff0e57333e8c2 Mon Sep 17 00:00:00 2001 From: Nithin S Varrier Date: Fri, 22 Nov 2024 22:52:15 +0530 Subject: [PATCH] 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 --- modules/services/conky.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"); };