nixos-configs/devices/nos/modules/jellyfin/jfa-go.nix
matt1432 29c32c8e49
All checks were successful
Discord / discord commits (push) Successful in 36s
feat(servers): add my module for declaring jellyfin config
2024-03-05 09:27:11 -05:00

20 lines
452 B
Nix

{config, ...}: let
jellyService = config.systemd.services.jellyfin.serviceConfig;
in {
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"
];
};
}