nixos-config/hosts/falkenstein-1/modules/pfersel/default.nix

13 lines
312 B
Nix
Raw Normal View History

2023-05-31 17:35:28 +02:00
{ ... }:
{
# currently quite ugly and stateful. #todo nixify
systemd.services.pfersel = {
after = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
WorkingDirectory = "/root/Pfersel";
ExecStart = "/root/Pfersel/venv/bin/python3 bot.py";
};
};
}