Skip to content

Commit

Permalink
add arr and acceleration to tomato
Browse files Browse the repository at this point in the history
  • Loading branch information
0x77dev committed Jan 4, 2025
1 parent 7405828 commit c285f19
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
16 changes: 16 additions & 0 deletions systems/nixos/tomato/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,22 @@
};
};

nixpkgs.config.packageOverrides = pkgs: {
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
};

hardware.graphics = {
enable = true;
extraPackages = with pkgs; [
intel-media-driver
intel-vaapi-driver
vaapiVdpau
libvdpau-va-gl
intel-compute-runtime
intel-media-sdk
];
};

vpnNamespaces.wg = {
enable = true;
wireguardConfigFile = "/data/.secret/vpn/wg.conf";
Expand Down
21 changes: 21 additions & 0 deletions systems/nixos/tomato/services/arr.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{ ... }: {
services.radarr = {
enable = true;
openFirewall = true;
};

services.sonarr = {
enable = true;
openFirewall = true;
};

services.lidarr = {
enable = true;
openFirewall = true;
};

services.prowlarr = {
enable = true;
openFirewall = true;
};
}
1 change: 1 addition & 0 deletions systems/nixos/tomato/services/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
./media.nix
./analytics.nix
./ipfs.nix
./arr.nix
];
}

0 comments on commit c285f19

Please sign in to comment.