nixos-configs/devices/nos/modules/jellyfin/jfa-go.nix
matt1432 8ebc6de43e
All checks were successful
Discord / discord commits (push) Has been skipped
fix(docker): force global dns and update jfa
2024-07-28 00:44:09 -04:00

29 lines
607 B
Nix

{
config,
pkgs,
...
}: let
jellyService = config.systemd.services.jellyfin.serviceConfig;
in {
systemd.services."docker-jfa-go_jfa-go" = {
after = ["jellyfin.service"];
partOf = ["jellyfin.service"];
};
khepri.compositions."jfa-go" = {
networks.proxy_net = {external = true;};
services."jfa-go" = {
image = import ./images/jfa-go.nix pkgs;
restart = "always";
ports = ["8056:8056"];
networks = ["proxy_net"];
volumes = [
"${jellyService.WorkingDirectory}/jfa-go:/data"
"/etc/localtime:/etc/localtime:ro"
];
};
};
}