nixos-configs/devices/nos/modules/jellyfin/jfa-go.nix

21 lines
452 B
Nix
Raw Normal View History

{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"];
};
arion.projects."jfa-go"."jfa-go" = {
image = ./images/jfa-go.nix;
restart = "always";
ports = ["8056:8056"];
volumes = [
"${jellyService.WorkingDirectory}/jfa-go:/data"
"/etc/localtime:/etc/localtime:ro"
];
};
}