linuxware/hosts/wizdesk/services/home-manager/gakuen-cosplay-api.nix
Alexandre Cavalheiro S. Tiago da Silva 7f47e25e05
chore: update gakuen-cosplay input
Also update the path where we store the data used in the api
2025-03-15 01:26:56 -03:00

17 lines
396 B
Nix

{ gakuen-cosplay, pkgs, ... }:
{
systemd.user.services.gakuen-cosplay-api = {
Install.WantedBy = [ "default.target" ];
Unit.Description = "Gakuen Cosplay API";
Service = {
ExecStart = "${gakuen-cosplay.packages.${pkgs.system}.backend}/bin/cosplayer_submission";
Restart = "on-failure";
Type = "simple";
WorkingDirectory = "/srv/gakuen_api";
};
};
}