rename modules folder to imports

This commit is contained in:
ISnortPennies 2023-02-07 20:19:15 -05:00
parent ad16fd69f5
commit ad704d807c
21 changed files with 12 additions and 12 deletions

18
imports/parrot.nix Normal file
View file

@ -0,0 +1,18 @@
{
pkgs,
settings,
...
}: {
#discord bot stuff
systemd.services.parrot = {
enable = true;
path = with pkgs; [parrot yt-dlp ffmpeg];
wantedBy = ["multi-user.target"];
wants = ["NetworkManager-wait-online.service"];
after = ["NetworkManager-wait-online.service"];
script = "parrot";
serviceConfig = {
EnvironmentFile = "/home/${settings.username}/parrot/.env";
};
};
}