From 8a85d5c69fbfe03da2996e291e13a99cdeb4b6eb Mon Sep 17 00:00:00 2001 From: niten Date: Sat, 22 Jul 2023 12:13:48 -0700 Subject: [PATCH] Add state directory option --- tesla-mate-container.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tesla-mate-container.nix b/tesla-mate-container.nix index 0f52100..12b8b4f 100644 --- a/tesla-mate-container.nix +++ b/tesla-mate-container.nix @@ -93,6 +93,11 @@ in { "Password with which to authenticate with the MQTT server."; }; }; + + state-directory = mkOption { + type = str; + description = "Path at which to store service state."; + }; }; config = mkIf cfg.enable {