change jellyfin from arion to oci container
This commit is contained in:
parent
3c0baaed18
commit
05012c2056
1 changed files with 22 additions and 26 deletions
|
@ -1,15 +1,12 @@
|
|||
{
|
||||
virtualisation.arion = {
|
||||
backend = "podman-socket";
|
||||
projects.jellyfin = {
|
||||
settings = {
|
||||
services.jellyfin.service = {
|
||||
config.virtualisation.oci-containers = {
|
||||
backend = "podman";
|
||||
containers = {
|
||||
jellyfin = {
|
||||
image = "lscr.io/linuxserver/jellyfin:latest";
|
||||
ports = [
|
||||
"8096:8096"
|
||||
];
|
||||
container_name = "jellyfin";
|
||||
image = "lscr.io/linuxserver/jellyfin:latest";
|
||||
restart = "always";
|
||||
volumes = [
|
||||
"/srv/docker/media-server/jellyfin/config:/config"
|
||||
"/media/media/tv:/data/tvshows:ro"
|
||||
|
@ -24,8 +21,7 @@
|
|||
PGID = "1000";
|
||||
DOCKER_MODS = "linuxserver/mods:jellyfin-opencl-intel";
|
||||
};
|
||||
devices = ["/dev/dri:/dev/dri"];
|
||||
};
|
||||
extraOptions = ["--gpus=all"];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue