dotfiles/nixos/boxes/bolty/videos.nix

24 lines
566 B
Nix
Raw Normal View History

2023-10-21 22:14:19 +01:00
{inputs, ...}: let
domain = "vidyos.peninsula.industries";
port = 3876;
in {
2023-12-09 09:18:29 +00:00
services.postgresql.port = 5444;
2023-10-21 22:14:19 +01:00
services.invidious = {
package =
inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".invidious;
2023-12-09 09:18:29 +00:00
enable = false;
2023-10-21 22:14:19 +01:00
inherit domain;
inherit port;
database.createLocally = true;
2023-12-09 09:18:29 +00:00
database.port = 5444;
2023-10-21 22:14:19 +01:00
nginx.enable = false;
settings = {
external_port = 443;
https_only = true;
disable_proxy = false;
registration_enabled = false;
hmac_key = "hd5YPAk7XR3W7nEWRrP6";
};
};
}