adds config for actual server

This commit is contained in:
Dennis 2025-10-17 10:08:14 +02:00
parent 4734ecb5e1
commit 65fdfb5aca
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,18 @@
{
pkgs,
...
}:
{
systemd.user.services.actual-server = {
enable = true;
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
description = "user service for the actual budgeting server instance";
serviceConfig = {
type = "simple";
ExecStart = "ACTUAL_PORT=9002 ${pkgs.actual-server}";
Restart = "on-failure";
RestartSec = 3;
};
};
}