From 9b0f6e21232a6db9ed4b81cd03b5bb35a0dc1aca Mon Sep 17 00:00:00 2001 From: James Magahern Date: Sat, 31 Jan 2026 22:34:55 -0800 Subject: [PATCH] Nix: add screen share option --- web/flake.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web/flake.nix b/web/flake.nix index 4729876..7f81fac 100644 --- a/web/flake.nix +++ b/web/flake.nix @@ -27,6 +27,12 @@ default = false; description = "Enable video playback"; }; + + enable_screenshare = lib.mkOption { + type = lib.types.bool; + default = false; + description = "Enable screensharing"; + }; store_path = lib.mkOption { type = lib.types.str; @@ -109,6 +115,7 @@ environment = { PORT = toString cfg.port; ENABLE_VIDEO = if cfg.enable_video then "1" else "0"; + ENABLE_SCREENSHARE = if cfg.enable_screenshare then "1" else "0"; USE_INVIDIOUS = if cfg.invidious.enable then "1" else "0"; INVIDIOUS_BASE_URL = cfg.invidious.url; STORE_PATH = cfg.store_path;