nixos-config/hosts/phantom/invidious.nix
2024-07-15 01:45:32 -03:00

21 lines
386 B
Nix

{ 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;
};
};
}