invidious config: enabled->enable
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user