nix-configs/nixos-modules/docker-calibre-web.nix

21 lines
480 B
Nix

{
virtualisation = {
containers.enable = true;
podman.enable = true;
oci-containers.containers = {
calibre-web = {
image = "lscr.io/linuxserver/calibre-web:latest";
volumes = [
"calibre-web-config:/config"
"/video-data:/data"
];
environment.TZ = "America/New_York";
labels.swag = "enable";
extraOptions = [
"--pull=newer"
"--network=www"
];
};
};
};
}