1
1
Fork 0
mirror of https://git.sr.ht/~rouven/nixos-config synced 2025-05-12 15:30:54 +02:00

add another discord bot

This commit is contained in:
Rouven Seifert 2023-05-31 17:35:28 +02:00
parent 0359c7cc0c
commit 627fe030cb
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
4 changed files with 30 additions and 15 deletions
hosts
falkenstein-1
default.nix
modules/pfersel
thinkpad

View file

@ -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;

View 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";
};
};
}

View file

@ -106,6 +106,7 @@
programs.light.enable = true;
services = {
homed.enable = true;
blueman.enable = true; # bluetooth
devmon.enable = true; # automount stuff
printing = {