mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
rename modules folder to imports
This commit is contained in:
parent
ad16fd69f5
commit
ad704d807c
21 changed files with 12 additions and 12 deletions
18
imports/parrot.nix
Normal file
18
imports/parrot.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue