mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-29 09:58:29 +02:00
add another discord bot
This commit is contained in:
parent
0359c7cc0c
commit
627fe030cb
4 changed files with 30 additions and 15 deletions
12
hosts/falkenstein-1/modules/pfersel/default.nix
Normal file
12
hosts/falkenstein-1/modules/pfersel/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ ... }:
|
||||
{
|
||||
# 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue