add invidious but need to figure out nginx

This commit is contained in:
TheWanderingCrow 2025-01-23 15:56:05 -05:00
parent 83817723bf
commit 3e15ca6829
3 changed files with 37 additions and 0 deletions

View file

@ -7,5 +7,6 @@
./bar-assistant.nix
./homebox.nix
./homepage.nix
./invidious.nix
];
}

View file

@ -66,6 +66,14 @@ lib.mkIf config.user.overseer.enable {
}
];
}
{
Bar = [
{
icon = "http://bar.wanderingcrow.net/favicon.svg";
href = "http://bar.wanderingcrow.net";
}
];
}
];
}
{

View file

@ -0,0 +1,28 @@
{
lib,
inputs,
config,
pkgs,
...
}:
lib.mkIf config.user.overseer.enable {
services.nginx = {
enable = true;
recommendedProxySettings = true;
virtualHosts = {
"vid.wanderingcrow.net" = {
enableACME = false;
forceSSL = false;
};
};
};
services.invidious = {
enable = true;
port = 3000;
nginx.enable = true;
domain = "vid.wanderingcrow.net";
database.createLocally = true;
};
}