24 lines
622 B
Nix
24 lines
622 B
Nix
{ inputs, ... }: {
|
|
#flake-file.inputs.bug-tv = {
|
|
# url = "git+https://git.bug.tools/bug/tv.git";
|
|
# inputs.nixpkgs.follows = "nixpkgs";
|
|
#};
|
|
den.aspects.services.bugtv = let port = port; in {
|
|
tunnel = { subdomain = "api-tv"; inherit port; };
|
|
|
|
nixos = { pkgs, ... }: {
|
|
imports = [ inputs.bug-tv.nixosModules.default ];
|
|
|
|
services."bug-tv" = {
|
|
enable = true;
|
|
|
|
package = inputs.bug-tv.packages.${pkgs.system}.default;
|
|
port = 8789;
|
|
tmdbApiKey = "ac014b130a8e6344c91dff4e68b18d47";
|
|
providers = [ "cineby" ];
|
|
timeoutMs = 30000;
|
|
};
|
|
};
|
|
};
|
|
}
|