nix/modules/services/invidious/default.nix

20 lines
354 B
Nix
Raw Normal View History

2024-10-04 18:30:45 +02:00
{
2024-11-08 18:23:40 +01:00
domain,
mail,
...
}: {
2024-09-17 19:27:45 +02:00
services.invidious = {
enable = true;
settings = {
db = {
user = "invidious";
dbname = "invidious";
};
};
};
2024-11-08 18:23:40 +01:00
services.invidious.domain = "yt.${domain}";
2024-10-20 00:41:52 +02:00
services.invidious.nginx.enable = true;
2024-11-08 18:23:40 +01:00
security.acme.defaults.email = "${mail}";
2024-10-20 00:41:52 +02:00
security.acme.acceptTerms = true;
2024-09-17 19:27:45 +02:00
}