mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
added ways to use different branches of nixpkgs made unfree packages have to specified switched to nix master branch moved sxhkd from a seperate flake switched spotify and maim versions because both are broken on nixos-unstable right now moved afk-cmds from local to remote added flake-utils for easier devShell decleration switched my mom's laptop to stable branch
18 lines
419 B
Nix
18 lines
419 B
Nix
_: {
|
|
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}/saveme/.env";
|
|
};
|
|
};
|
|
}
|