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

25 lines
500 B
Nix
Raw Normal View History

2024-07-24 15:49:31 -04:00
{
config,
pkgs,
...
}: let
jellyService = config.systemd.services.jellyfin.serviceConfig;
in {
2024-07-24 15:49:31 -04:00
systemd.services."docker-jfa-go_jfa-go" = {
2024-03-02 02:59:40 -05:00
after = ["jellyfin.service"];
partOf = ["jellyfin.service"];
};
2024-07-24 15:49:31 -04:00
khepri.compositions."jfa-go".services."jfa-go" = {
image = import ./images/jfa-go.nix pkgs;
restart = "always";
ports = ["8056:8056"];
volumes = [
"${jellyService.WorkingDirectory}/jfa-go:/data"
"/etc/localtime:/etc/localtime:ro"
];
};
}