nixos-config/hosts/phantom/invidious.nix

21 lines
386 B
Nix
Raw Normal View History

2024-07-15 01:45:32 -03:00
{ 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;
};
};
}