nix-configs/nixos-modules/docker-lazylibrarian.nix
2024-10-23 20:16:46 -04:00

25 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"
];
};
};
};
}