2024-01-16 22:41:32 +00:00
|
|
|
{
|
|
|
|
inputs,
|
|
|
|
system,
|
|
|
|
...
|
|
|
|
}: let
|
2023-10-21 22:14:19 +01:00
|
|
|
domain = "vidyos.peninsula.industries";
|
|
|
|
port = 3876;
|
|
|
|
in {
|
2024-01-16 22:41:32 +00:00
|
|
|
imports = [../nginx.nix];
|
2023-10-21 22:14:19 +01:00
|
|
|
services.invidious = {
|
|
|
|
package =
|
2024-01-16 22:41:32 +00:00
|
|
|
inputs.nixpkgs-nixos-unstable.legacyPackages."${system}".invidious;
|
2024-06-28 22:02:25 +01:00
|
|
|
enable = false;
|
2023-10-21 22:14:19 +01:00
|
|
|
inherit domain;
|
|
|
|
inherit port;
|
|
|
|
database.createLocally = true;
|
2024-01-16 22:41:32 +00:00
|
|
|
nginx.enable = true;
|
2023-10-21 22:14:19 +01:00
|
|
|
settings = {
|
|
|
|
https_only = true;
|
2024-01-16 22:41:32 +00:00
|
|
|
disable_proxy = true;
|
2023-10-21 22:14:19 +01:00
|
|
|
registration_enabled = false;
|
|
|
|
hmac_key = "hd5YPAk7XR3W7nEWRrP6";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|