restructure container directory
This commit is contained in:
parent
4527811bea
commit
7b9ac7400c
11 changed files with 28 additions and 23 deletions
14
nixos/lavender/containers/plex/default.nix
Normal file
14
nixos/lavender/containers/plex/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
# Plex
|
||||
virtualisation.oci-containers.containers."plex" = {
|
||||
autoStart = true;
|
||||
image = "lscr.io/linuxserver/plex:latest";
|
||||
volumes = [
|
||||
"/srv/containers/plex:/config"
|
||||
"/srv/data/media:/data/media:ro"
|
||||
];
|
||||
ports = [ "32400:32400" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue