diff --git a/configs/unbound-local.conf b/configs/unbound-local.conf index 1691f54..aec9b66 100644 --- a/configs/unbound-local.conf +++ b/configs/unbound-local.conf @@ -18,3 +18,4 @@ local-data: "readarr.icanttype.org. IN A 10.42.69.100" local-data: "qbittorrent.icanttype.org. IN A 10.42.69.100" local-data: "calibre.icanttype.org. IN A 10.42.69.100" local-data: "calibre-web.icanttype.org. IN A 10.42.69.100" +local-data: "lazylibrarian.icanttype.org. IN A 10.42.69.100" diff --git a/nixos-configurations/zeus.nix b/nixos-configurations/zeus.nix index 3811898..e7ff6fe 100644 --- a/nixos-configurations/zeus.nix +++ b/nixos-configurations/zeus.nix @@ -23,12 +23,14 @@ in ezModules.networkd-base ezModules.smartd ezModules.plymouth + ezModules.docker-calibre ezModules.docker-calibre-web ezModules.docker-dind ezModules.docker-flaresolverr ezModules.docker-forgejo ezModules.docker-homeassistant ezModules.docker-jellyfin + ezModules.docker-lazylibrarian ezModules.docker-postgres ezModules.docker-prowlarr ezModules.docker-proxy diff --git a/nixos-modules/docker-lazylibrarian.nix b/nixos-modules/docker-lazylibrarian.nix new file mode 100644 index 0000000..b01030b --- /dev/null +++ b/nixos-modules/docker-lazylibrarian.nix @@ -0,0 +1,25 @@ + +{ 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" + ]; + }; + }; + }; +}