phantom: install invidious
This commit is contained in:
parent
ea235409b8
commit
da1634aa29
|
@ -19,6 +19,7 @@
|
|||
./email.nix
|
||||
./forgejo.nix
|
||||
./warthunder-leak-counter.nix
|
||||
./invidious.nix
|
||||
];
|
||||
|
||||
networking.hostName = "phantom";
|
||||
|
|
20
hosts/phantom/invidious.nix
Normal file
20
hosts/phantom/invidious.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
services.invidious = {
|
||||
enable = true;
|
||||
domain = "invidious.lelgenio.com";
|
||||
nginx.enable = true;
|
||||
settings.db = {
|
||||
user = "invidious";
|
||||
dbname = "invidious";
|
||||
};
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
clientMaxBodySize = "100m";
|
||||
virtualHosts.${config.services.invidious.domain} = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue