refactor: den-native config, tunnel quirk, per-module inputs

This commit is contained in:
4DBug committed 2026-10-16 07:45:16 -05:00
1 parent 0431bce152
commit bfbac8b961
100 files changed
+668 -1417

No files matched your search

+8 -9
View File
@@ -1,13 +1,12 @@
{ lib, ... }: {
den.aspects.invidious = {
nixos = { pkgs, config, ... }: let
den.aspects.services.invidious = let port = 3030; in {
tunnel = { subdomain = "tube"; inherit port; };
nixos = { pkgs, host, ... }: let
companionPort = 8282;
companionPath = "/companion";
companionKey = "kKg3RKeZjE7frmvr";
port = config.den.portmap.tube;
in {
den.tunnels = [ "tube" ];
virtualisation.oci-containers = {
backend = "podman";
containers = {
@@ -66,9 +65,9 @@
http3-ytproxy.enable = true;
settings = {
domain = "tube.bug.tools";
domain = "tube.${host.domain}";
#https_only = false;
external_port = port;
external_port = 443; # public URLs go through cloudflared on https, not :3030
invidious_companion = [
{
@@ -79,11 +78,11 @@
invidious_companion_key = companionKey;
continue = true;
local = false;
local = true; # googlevideo URLs are bound to box's IP; proxy playback via companion
check_tables = true;
https_only = true;
use_quic = false;
admins = [ "bug" ];
admins = [ host.owner ];
use_pubsub_feeds = false;
captcha_enabled = false;
login_enabled = true;