fix invidious

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

View File

@@ -51,5 +51,9 @@
file = ../../secrets/hledger-basic-auth.age;
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,
config,
inputs,
lib,
...
}:
let
@@ -133,8 +134,14 @@ in
};
invidious = {
enable = false;
enable = true;
subdomain = "vid";
extraSettingsFile = secrets.invidious.path;
settings = {
invidious_companion = [
{ private_url = "http://apu:8282/companion"; }
];
};
};
syncthing = {