refactor!: restructure and document configuration

This commit is contained in:
Alexandre Cavalheiro S. Tiago da Silva 2025-03-06 05:30:47 -03:00
parent 4a02e072a7
commit f87f9995be
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF
126 changed files with 957 additions and 590 deletions

View file

@ -0,0 +1,17 @@
{ hydractify-bot, pkgs, ... }:
{
systemd.user.services.hydractify-bot = {
Install.WantedBy = [ "default.target" ];
Unit.Description = "Hydractify bot";
Unit.After = "postgresql.service";
Service = {
ExecStart = "${hydractify-bot.defaultPackage.${pkgs.system}}/bin/hydractify";
Restart = "on-failure";
Type = "simple";
WorkingDirectory = "/mnt/internal/hydractify/GitHub/hydractify";
};
};
}