2024-03-05 09:27:11 -05:00
|
|
|
{config, ...}: let
|
|
|
|
jellyService = config.systemd.services.jellyfin.serviceConfig;
|
|
|
|
in {
|
2024-03-02 02:59:40 -05:00
|
|
|
systemd.services."arion-jfa-go" = {
|
|
|
|
after = ["jellyfin.service"];
|
|
|
|
partOf = ["jellyfin.service"];
|
|
|
|
};
|
2024-03-01 21:36:57 -05:00
|
|
|
|
|
|
|
arion.projects."jfa-go"."jfa-go" = {
|
|
|
|
image = ./images/jfa-go.nix;
|
|
|
|
restart = "always";
|
|
|
|
|
|
|
|
ports = ["8056:8056"];
|
|
|
|
|
|
|
|
volumes = [
|
2024-03-05 09:27:11 -05:00
|
|
|
"${jellyService.WorkingDirectory}/jfa-go:/data"
|
2024-03-01 21:36:57 -05:00
|
|
|
"/etc/localtime:/etc/localtime:ro"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|