feat(caddy): add ffmpeg to sonarr path
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled

This commit is contained in:
uttarayan21
2025-10-08 20:01:15 +05:30
parent 7169556a3d
commit aad0737311
2 changed files with 10 additions and 3 deletions

View File

@@ -41,8 +41,6 @@
systemd.services.caddy = { systemd.services.caddy = {
serviceConfig = { serviceConfig = {
EnvironmentFile = config.sops.templates."HETZNER_API_KEY.env".path; EnvironmentFile = config.sops.templates."HETZNER_API_KEY.env".path;
Requires = ["sops.service"];
After = ["sops.service"];
}; };
}; };
} }

View File

@@ -1,9 +1,18 @@
{unstablePkgs, ...}: { {
pkgs,
unstablePkgs,
...
}: {
services = { services = {
sonarr = { sonarr = {
enable = true; enable = true;
package = unstablePkgs.sonarr; package = unstablePkgs.sonarr;
}; };
systemd.services.sonarr = {
serviceConfig = {
path = [pkgs.ffmpeg];
};
};
caddy = { caddy = {
virtualHosts."sonarr.tsuba.darksailor.dev".extraConfig = '' virtualHosts."sonarr.tsuba.darksailor.dev".extraConfig = ''