feat(desktop/hm): add hydractify-bot service
This commit is contained in:
parent
5525bfb0dd
commit
bee802ac9b
4 changed files with 133 additions and 12 deletions
|
@ -10,6 +10,7 @@
|
|||
../../modules/home-manager
|
||||
./services/openttd.nix
|
||||
./services/terraria.nix
|
||||
./services/hydractify-bot.nix
|
||||
];
|
||||
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
|
|
17
specific/desktop/services/hydractify-bot.nix
Normal file
17
specific/desktop/services/hydractify-bot.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue