flake: add store_path

This commit is contained in:
2025-03-05 00:28:23 -08:00
parent 729279ea78
commit e10d3d603f

View File

@@ -28,6 +28,12 @@
description = "Enable video playback"; 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 { invidious = lib.mkOption {
type = lib.types.submodule { type = lib.types.submodule {
options = { options = {
@@ -81,6 +87,7 @@
ENABLE_VIDEO = if cfg.enable_video then "1" else "0"; ENABLE_VIDEO = if cfg.enable_video then "1" else "0";
USE_INVIDIOUS = if cfg.invidious.enable then "1" else "0"; USE_INVIDIOUS = if cfg.invidious.enable then "1" else "0";
INVIDIOUS_URL = cfg.invidious.url; INVIDIOUS_URL = cfg.invidious.url;
STORE_PATH = cfg.store_path;
}; };
}; };
}; };