box: fix invidious stuff
This commit is contained in:
parent
d70668e81d
commit
ede99acdf7
@ -431,13 +431,20 @@ in
|
|||||||
# };
|
# };
|
||||||
#};
|
#};
|
||||||
invidious = {
|
invidious = {
|
||||||
enable = false;
|
enable = true;
|
||||||
database = {
|
database = {
|
||||||
createLocally = true;
|
createLocally = true;
|
||||||
};
|
};
|
||||||
|
address = "127.0.0.1";
|
||||||
|
port = 1538;
|
||||||
settings = {
|
settings = {
|
||||||
port = lib.mkForce 1538;
|
db = {
|
||||||
host_binding = "127.0.0.1";
|
user = "invidious";
|
||||||
|
password = lib.mkForce "invidious";
|
||||||
|
dbname = "invidious";
|
||||||
|
host = lib.mkForce "127.0.0.1";
|
||||||
|
port = 5432;
|
||||||
|
};
|
||||||
domain = "invidious.bold.daemon";
|
domain = "invidious.bold.daemon";
|
||||||
https_only = true;
|
https_only = true;
|
||||||
popular_enabled = false;
|
popular_enabled = false;
|
||||||
@ -863,7 +870,7 @@ in
|
|||||||
sslCertificate = "${config.sops.secrets.invidious_cert.path}";
|
sslCertificate = "${config.sops.secrets.invidious_cert.path}";
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://127.0.0.1:${
|
proxyPass = "http://127.0.0.1:${
|
||||||
toString config.services.invidious.settings.port
|
toString config.services.invidious.port
|
||||||
}";
|
}";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user