21 lines
504 B
Nix
21 lines
504 B
Nix
{inputs, ...}: let
|
|
domain = "vidyos.peninsula.industries";
|
|
port = 3876;
|
|
in {
|
|
services.invidious = {
|
|
package =
|
|
inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".invidious;
|
|
enable = true;
|
|
inherit domain;
|
|
inherit port;
|
|
database.createLocally = true;
|
|
nginx.enable = false;
|
|
settings = {
|
|
external_port = 443;
|
|
https_only = true;
|
|
disable_proxy = false;
|
|
registration_enabled = false;
|
|
hmac_key = "hd5YPAk7XR3W7nEWRrP6";
|
|
};
|
|
};
|
|
}
|