From 6a574597c54cbb7e778239da9481b07cf9aa6870 Mon Sep 17 00:00:00 2001 From: James Magahern Date: Sun, 2 Mar 2025 19:17:45 -0800 Subject: [PATCH] invidious config: enabled->enable --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 984d839..4f220c7 100644 --- a/flake.nix +++ b/flake.nix @@ -31,7 +31,7 @@ invidious = lib.mkOption { type = lib.types.submodule { options = { - enabled = lib.mkOption { + enable = lib.mkOption { type = lib.types.bool; default = false; description = "Enable Invidious"; @@ -46,7 +46,7 @@ }; default = { - enabled = false; + enable = false; url = "http://invidious.nor"; }; }; @@ -96,7 +96,7 @@ environment = { PORT = toString cfg.port; ENABLE_VIDEO = if cfg.enable_video then "1" else "0"; - USE_INVIDIOUS = if cfg.invidious.enabled then "1" else "0"; + USE_INVIDIOUS = if cfg.invidious.enable then "1" else "0"; INVIDIOUS_URL = cfg.invidious.url; }; };