mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-16 05:43:10 +01:00
13 lines
312 B
Nix
13 lines
312 B
Nix
{ ... }:
|
|
{
|
|
# 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";
|
|
};
|
|
};
|
|
}
|