From dd79fd9ecd6795594761f87cd94f49069e495d6b Mon Sep 17 00:00:00 2001 From: James Magahern Date: Wed, 5 Mar 2025 00:28:23 -0800 Subject: [PATCH] flake: add store_path --- flake.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/flake.nix b/flake.nix index af2ba9c..834e410 100644 --- a/flake.nix +++ b/flake.nix @@ -28,6 +28,12 @@ description = "Enable video playback"; }; + store_path = lib.mkOption { + type = lib.types.str; + default = "/var/tmp/queuecube"; + description = "Path to the store for QueueCube"; + }; + invidious = lib.mkOption { type = lib.types.submodule { options = { @@ -81,6 +87,7 @@ ENABLE_VIDEO = if cfg.enable_video then "1" else "0"; USE_INVIDIOUS = if cfg.invidious.enable then "1" else "0"; INVIDIOUS_URL = cfg.invidious.url; + STORE_PATH = cfg.store_path; }; }; };