dotfiles/nixos/boxes/cupsnet/videos.nix
Cyryl Płotnicki 30b3fcf6e9
Some checks failed
use nix / build (push) Failing after 3m38s
disable vidyos as nede to migrate the db
2024-06-28 22:02:25 +01:00

25 lines
517 B
Nix

{
inputs,
system,
...
}: let
domain = "vidyos.peninsula.industries";
port = 3876;
in {
imports = [../nginx.nix];
services.invidious = {
package =
inputs.nixpkgs-nixos-unstable.legacyPackages."${system}".invidious;
enable = false;
inherit domain;
inherit port;
database.createLocally = true;
nginx.enable = true;
settings = {
https_only = true;
disable_proxy = true;
registration_enabled = false;
hmac_key = "hd5YPAk7XR3W7nEWRrP6";
};
};
}