Feature: Added Jellyfin + Readarr Service
This commit is contained in:
@@ -14,6 +14,8 @@ in
|
||||
};
|
||||
radarr.enable = true;
|
||||
docker.enable = true;
|
||||
readarr.enable = true;
|
||||
jellyfin.enable = true;
|
||||
};
|
||||
|
||||
my.hardware = {
|
||||
|
||||
@@ -7,5 +7,7 @@
|
||||
./prowlarr
|
||||
./radarr
|
||||
./docker
|
||||
./readarr
|
||||
./jellyfin
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
# manages and downloads films
|
||||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.my.profiles.jellyfin;
|
||||
in
|
||||
{
|
||||
options.my.profiles.jellyfin = with lib; {
|
||||
enable = mkEnableOption "Media Service";
|
||||
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.jellyfin = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
|
||||
systemd.services.jellyfin = {
|
||||
after = [ "network-online.target" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
# manages and downloads films
|
||||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.my.profiles.readarr;
|
||||
# domain = config.networking.domain;
|
||||
# port = 7878;
|
||||
in
|
||||
{
|
||||
options.my.profiles.readarr = with lib; {
|
||||
enable = mkEnableOption "Readarr for ebook management";
|
||||
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.readarr = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
my.profiles.prowlarr.enable = true;
|
||||
|
||||
systemd.services.readarr = {
|
||||
after = [ "network-online.target" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user