Add state directory option

This commit is contained in:
niten 2023-07-22 12:13:48 -07:00
parent 98496b8ac2
commit 8a85d5c69f
1 changed files with 5 additions and 0 deletions

View File

@ -93,6 +93,11 @@ in {
"Password with which to authenticate with the MQTT server."; "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 { config = mkIf cfg.enable {