ports test
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
{ den, lib, ... }: {
|
||||
den.aspects.invidious = {
|
||||
nixos = { pkgs, ... }: let
|
||||
nixos = { pkgs, config, ... }: let
|
||||
companionPort = 8282;
|
||||
companionPath = "/companion";
|
||||
companionKey = "kKg3RKeZjE7frmvw";
|
||||
port = config.den.portmap.tube;
|
||||
in {
|
||||
den.tunnels = [ "tube" ];
|
||||
|
||||
virtualisation.podman.enable = true;
|
||||
virtualisation.oci-containers.backend = lib.mkDefault "podman";
|
||||
|
||||
@@ -29,7 +32,7 @@
|
||||
package = pkgs.invidious;
|
||||
|
||||
address = "127.0.0.1";
|
||||
port = 3030;
|
||||
port = port;
|
||||
|
||||
nginx.enable = false;
|
||||
sig-helper.enable = false;
|
||||
@@ -37,7 +40,7 @@
|
||||
settings = {
|
||||
domain = "tube.bug.tools";
|
||||
https_only = false;
|
||||
external_port = 3030;
|
||||
external_port = port;
|
||||
|
||||
invidious_companion = [
|
||||
{ private_url = "http://127.0.0.1:${toString companionPort}${companionPath}"; }
|
||||
|
||||
Reference in New Issue
Block a user