ports test

This commit is contained in:
4DBug
2026-03-03 17:05:04 -06:00
parent 4974969c6f
commit c10eca565f
17 changed files with 85 additions and 55 deletions

View File

@@ -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}"; }