nixos-configs/devices/nos/modules/jellyfin/jfa-go.nix
matt1432 827bf6ba8c
All checks were successful
Discord / discord commits (push) Has been skipped
feat(docker): arion -> khepri
2024-07-24 15:49:31 -04:00

24 lines
500 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".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"
];
};
}