diff --git a/modules/matrix/mautrix-whatsapp.nix b/modules/matrix/mautrix-whatsapp.nix index f771a010..126013c1 100644 --- a/modules/matrix/mautrix-whatsapp.nix +++ b/modules/matrix/mautrix-whatsapp.nix @@ -118,6 +118,10 @@ in User = "mautrix-whatsapp"; Group = "matrix-synapse"; EnvironmentFile = cfg.environmentFile; + ExecStart = '' + ${mautrix-whatsapp}/bin/mautrix-whatsapp \ + --config='${settingsFile}' + ''; }; restartTriggers = [ cfg.environmentFile ]; };