mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-27 17:08: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
|
@ -8,6 +8,7 @@
|
|||
./modules/mail
|
||||
./modules/networks
|
||||
./modules/nginx
|
||||
./modules/pfersel
|
||||
./modules/purge
|
||||
./modules/trucksimulatorbot
|
||||
];
|
||||
|
@ -36,6 +37,7 @@
|
|||
htop-vim
|
||||
helix
|
||||
lsof
|
||||
python3
|
||||
];
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
|
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