setup jellyfin
This commit is contained in:
parent
fe23d2f5fd
commit
6ce56ca13d
|
@ -11,9 +11,11 @@
|
||||||
./recyclarr
|
./recyclarr
|
||||||
./qbittorrent
|
./qbittorrent
|
||||||
./minecraft
|
./minecraft
|
||||||
|
./jellyfin
|
||||||
./traefik
|
./traefik
|
||||||
];
|
];
|
||||||
|
|
||||||
# Set docker as container implementation.
|
# Set docker as container implementation.
|
||||||
virtualisation.oci-containers.backend = "docker";
|
virtualisation.oci-containers.backend = "docker";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
19
nixos/viridian/containers/jellyfin/default.nix
Normal file
19
nixos/viridian/containers/jellyfin/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# Jellyfin
|
||||||
|
virtualisation.oci-containers.containers."jellyfin" = {
|
||||||
|
autoStart = true;
|
||||||
|
image = "jellyfin/jellyfin";
|
||||||
|
volumes = [
|
||||||
|
"/srv/containers/jellyfin/config:/config"
|
||||||
|
"/srv/containers/jellyfin/cache:/cache"
|
||||||
|
"/srv/data/media:/media"
|
||||||
|
];
|
||||||
|
extraOptions = [
|
||||||
|
"--group-add=303"
|
||||||
|
"--device=/dev/dri/renderD128:/dev/dri/renderD128"
|
||||||
|
"--network=host"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue