sabnzbd setup
This commit is contained in:
parent
a4c71691a8
commit
ad1d89e2e1
@ -27,6 +27,7 @@
|
|||||||
bazarr.enable = true;
|
bazarr.enable = true;
|
||||||
kavita.enable = true;
|
kavita.enable = true;
|
||||||
qbittorrent.enable = true;
|
qbittorrent.enable = true;
|
||||||
|
sabnzbd.enable = true;
|
||||||
unpackerr.enable = true;
|
unpackerr.enable = true;
|
||||||
jellyfin = {
|
jellyfin = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -44,6 +45,7 @@
|
|||||||
8096 # jellyfin
|
8096 # jellyfin
|
||||||
6767 # bazarr
|
6767 # bazarr
|
||||||
5000 # kavita
|
5000 # kavita
|
||||||
|
3399 # sabnzbd
|
||||||
];
|
];
|
||||||
in {
|
in {
|
||||||
hostName = "server";
|
hostName = "server";
|
||||||
|
|||||||
@ -55,6 +55,7 @@ in {
|
|||||||
(import ./servers/nextcloud.nix { inherit lib config pkgs; })
|
(import ./servers/nextcloud.nix { inherit lib config pkgs; })
|
||||||
(import ./servers/prowlarr.nix { inherit lib config proxyReverseArr; })
|
(import ./servers/prowlarr.nix { inherit lib config proxyReverseArr; })
|
||||||
(import ./servers/qbittorrent.nix { inherit lib config pkgs proxyReverse; })
|
(import ./servers/qbittorrent.nix { inherit lib config pkgs proxyReverse; })
|
||||||
|
(import ./servers/sabnzbd.nix { inherit lib config pkgs proxyReverse; })
|
||||||
(import ./servers/radarr.nix { inherit lib config proxyReverseArr; })
|
(import ./servers/radarr.nix { inherit lib config proxyReverseArr; })
|
||||||
(import ./servers/ryot.nix { inherit lib config proxyReverse; })
|
(import ./servers/ryot.nix { inherit lib config proxyReverse; })
|
||||||
(import ./servers/shiori.nix { inherit lib config pkgs proxyReverse; })
|
(import ./servers/shiori.nix { inherit lib config pkgs proxyReverse; })
|
||||||
@ -137,6 +138,7 @@ in {
|
|||||||
paperless.enable = lib.mkDefault false;
|
paperless.enable = lib.mkDefault false;
|
||||||
postgres.enable = lib.mkDefault false;
|
postgres.enable = lib.mkDefault false;
|
||||||
prowlarr.enable = lib.mkDefault false;
|
prowlarr.enable = lib.mkDefault false;
|
||||||
|
sabnzbd.enable = lib.mkDefault false;
|
||||||
qbittorrent.enable = lib.mkDefault false;
|
qbittorrent.enable = lib.mkDefault false;
|
||||||
unpackerr.enable = lib.mkDefault false;
|
unpackerr.enable = lib.mkDefault false;
|
||||||
radarr.enable = lib.mkDefault false;
|
radarr.enable = lib.mkDefault false;
|
||||||
|
|||||||
@ -18,6 +18,7 @@ in {
|
|||||||
"/mnt/pool/multimedia:/data"
|
"/mnt/pool/multimedia:/data"
|
||||||
"/mnt/pool/multimedia/media/Music:/music"
|
"/mnt/pool/multimedia/media/Music:/music"
|
||||||
"/mnt/pool/multimedia/media/MusicVideos:/music-videos"
|
"/mnt/pool/multimedia/media/MusicVideos:/music-videos"
|
||||||
|
"/mnt/pool/multimedia/downloads/usenet:/usenet"
|
||||||
"${config.my.containerData}/lidarr/files:/config"
|
"${config.my.containerData}/lidarr/files:/config"
|
||||||
"${config.my.containerData}/lidarr/custom-services.d:/custom-services.d"
|
"${config.my.containerData}/lidarr/custom-services.d:/custom-services.d"
|
||||||
"${config.my.containerData}/lidarr/custom-cont-init.d:/custom-cont-init.d"
|
"${config.my.containerData}/lidarr/custom-cont-init.d:/custom-cont-init.d"
|
||||||
|
|||||||
10
modules/servers/sabnzbd.nix
Normal file
10
modules/servers/sabnzbd.nix
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{ lib, config, pkgs, proxyReverse, ... }: {
|
||||||
|
options.my.servers.sabnzbd.enable = lib.mkEnableOption "enable";
|
||||||
|
config = lib.mkIf config.my.servers.sabnzbd.enable {
|
||||||
|
services.sabnzbd = {
|
||||||
|
enable = true;
|
||||||
|
group = "piracy";
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user