fix invidious

This commit is contained in:
Joakim Repomaa
2026-03-07 13:25:16 +02:00
parent fd29342f58
commit 551fe64603
2 changed files with 12 additions and 1 deletions

View File

@@ -51,5 +51,9 @@
file = ../../secrets/hledger-basic-auth.age; file = ../../secrets/hledger-basic-auth.age;
owner = if (config.services.hledger-web.enable) then "nginx" else "root"; owner = if (config.services.hledger-web.enable) then "nginx" else "root";
}; };
invidious = lib.mkIf config.services.invidious.enable {
file = ../../secrets/invidious.age;
owner = config.systemd.services.invidious.serviceConfig.User;
};
}; };
} }

View File

@@ -3,6 +3,7 @@
pkgs-unstable, pkgs-unstable,
config, config,
inputs, inputs,
lib,
... ...
}: }:
let let
@@ -133,8 +134,14 @@ in
}; };
invidious = { invidious = {
enable = false; enable = true;
subdomain = "vid"; subdomain = "vid";
extraSettingsFile = secrets.invidious.path;
settings = {
invidious_companion = [
{ private_url = "http://apu:8282/companion"; }
];
};
}; };
syncthing = { syncthing = {