26 lines
519 B
Nix
26 lines
519 B
Nix
|
|
||
|
{ pkgs, ... }:
|
||
|
{
|
||
|
virtualisation = {
|
||
|
containers.enable = true;
|
||
|
podman.enable = true;
|
||
|
oci-containers.containers = {
|
||
|
lazylibrarian = {
|
||
|
image = "linuxserver/lazylibrarian:latest";
|
||
|
volumes = [
|
||
|
"lazylibrarian-config:/config"
|
||
|
"/video-data:/data"
|
||
|
];
|
||
|
environment.TZ = "America/New_York";
|
||
|
labels = {
|
||
|
swag = "enable";
|
||
|
};
|
||
|
extraOptions = [
|
||
|
"--network=www"
|
||
|
"--pull=newer"
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|