setup media server containers
This commit is contained in:
parent
0243be74c8
commit
93d656baf5
6 changed files with 84 additions and 0 deletions
15
nixos/lavender/containers/jellyfin.nix
Normal file
15
nixos/lavender/containers/jellyfin.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
# Jellyfin
|
||||
virtualisation.oci-containers.containers."jellyfin" = {
|
||||
autoStart = true;
|
||||
image = "jellyfin/jellyfin";
|
||||
volumes = [
|
||||
"/srv/jellyfin/config:/config"
|
||||
"/srv/jellyfin/cache:/cache"
|
||||
"/srv/media:/media"
|
||||
];
|
||||
ports = [ "8096:8096" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue