Updates
This commit is contained in:
parent
59f721f4d7
commit
bdb4ad8160
3 changed files with 11 additions and 17 deletions
|
|
@ -343,7 +343,7 @@ in {
|
||||||
port = 7878;
|
port = 7878;
|
||||||
in lib.mkIf cfg.radarr.enable {
|
in lib.mkIf cfg.radarr.enable {
|
||||||
hostname = "radarr";
|
hostname = "radarr";
|
||||||
image = "ghcr.io/hotio/radarr:release-5.28.0.10205";
|
image = "ghcr.io/hotio/radarr:testing-5.28.0.10205";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
ports = lib.mkIf cfg.radarr.exposePorts [
|
ports = lib.mkIf cfg.radarr.exposePorts [
|
||||||
"${toString port}:${toString port}/tcp"
|
"${toString port}:${toString port}/tcp"
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ let
|
||||||
cfg = config.homelab.apps.jellyfin;
|
cfg = config.homelab.apps.jellyfin;
|
||||||
|
|
||||||
networkName = "jellyfin";
|
networkName = "jellyfin";
|
||||||
|
inherit (config.homelab.fileSystems) media;
|
||||||
|
|
||||||
UID = 3008;
|
UID = 3008;
|
||||||
GID = config.users.groups.media.gid;
|
GID = config.users.groups.media.gid;
|
||||||
|
|
@ -12,6 +13,11 @@ in {
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
homelab = {
|
homelab = {
|
||||||
|
fileSystems.media.video = {
|
||||||
|
enable = true;
|
||||||
|
permissions = [ "read" ];
|
||||||
|
};
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
apps.enable = true;
|
apps.enable = true;
|
||||||
media.enable = true;
|
media.enable = true;
|
||||||
|
|
@ -32,18 +38,6 @@ in {
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
"/srv/video" = {
|
|
||||||
device = "192.168.0.11:/mnt/SMALL/MEDIA/VIDEO";
|
|
||||||
fsType = "nfs";
|
|
||||||
options = [
|
|
||||||
"ro"
|
|
||||||
"nfsvers=4.2"
|
|
||||||
"async" "soft"
|
|
||||||
"timeo=100" "retry=50" "actimeo=1800" "lookupcache=all"
|
|
||||||
"nosuid" "tcp"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
"/srv/homevideo" = {
|
"/srv/homevideo" = {
|
||||||
device = "192.168.0.11:/mnt/BIG/MEDIA/HOMEVIDEO/ARCHIVE";
|
device = "192.168.0.11:/mnt/BIG/MEDIA/HOMEVIDEO/ARCHIVE";
|
||||||
fsType = "nfs";
|
fsType = "nfs";
|
||||||
|
|
@ -101,7 +95,7 @@ in {
|
||||||
virtualisation.oci-containers.containers = {
|
virtualisation.oci-containers.containers = {
|
||||||
jellyfin = {
|
jellyfin = {
|
||||||
hostname = "jellyfin";
|
hostname = "jellyfin";
|
||||||
image = "jellyfin/jellyfin:10.10.0";
|
image = "jellyfin/jellyfin:10.10.7";
|
||||||
user = "${toString UID}:${toString GID}";
|
user = "${toString UID}:${toString GID}";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
ports = [
|
ports = [
|
||||||
|
|
@ -117,7 +111,7 @@ in {
|
||||||
"cache:/cache"
|
"cache:/cache"
|
||||||
|
|
||||||
"/srv/audio:/media/audio"
|
"/srv/audio:/media/audio"
|
||||||
"/srv/video:/media/video"
|
"${media.video.hostPath}:/media/video"
|
||||||
"/srv/homevideo:/media/homevideo"
|
"/srv/homevideo:/media/homevideo"
|
||||||
"/srv/photo:/media/photo"
|
"/srv/photo:/media/photo"
|
||||||
];
|
];
|
||||||
|
|
@ -144,7 +138,7 @@ in {
|
||||||
feishinPort = "9180";
|
feishinPort = "9180";
|
||||||
in {
|
in {
|
||||||
hostname = "feishin";
|
hostname = "feishin";
|
||||||
image = "ghcr.io/jeffvli/feishin:0.7.1";
|
image = "ghcr.io/jeffvli/feishin:0.19.0";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
ports = [
|
ports = [
|
||||||
"${feishinPort}:9180/tcp" # Web player (HTTP)
|
"${feishinPort}:9180/tcp" # Web player (HTTP)
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,6 @@ in {
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue