mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
switch to neovim as a pager added parrot and mining modules deleted amd module moved the rest of vfio configuration to vfio.nix moved git from home-manager to system configuration
19 lines
456 B
Nix
19 lines
456 B
Nix
{
|
|
pkgs,
|
|
settings,
|
|
...
|
|
}: {
|
|
#discord bot stuff
|
|
virtualisation.docker.enable = false;
|
|
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";
|
|
};
|
|
};
|
|
}
|