diff --git a/nixos/lavender/containers/homepage.nix b/nixos/lavender/containers/homepage.nix new file mode 100644 index 0000000..ff4e2d0 --- /dev/null +++ b/nixos/lavender/containers/homepage.nix @@ -0,0 +1,13 @@ +{ ... }: + +{ + # Homepage + virtualisation.oci-containers.containers."homepage" = { + autoStart = true; + image = "ghcr.io/benphelps/homepage:latest"; + volumes = [ + "/srv/homepage/config:/app/config" + ]; + ports = [ "3000:3000" ]; + }; +} diff --git a/nixos/lavender/containers/jellyfin.nix b/nixos/lavender/containers/jellyfin.nix new file mode 100644 index 0000000..160ae31 --- /dev/null +++ b/nixos/lavender/containers/jellyfin.nix @@ -0,0 +1,15 @@ +{ ... }: + +{ + # Jellyfin + virtualisation.oci-containers.containers."jellyfin" = { + autoStart = true; + image = "jellyfin/jellyfin"; + volumes = [ + "/srv/jellyfin/config:/config" + "/srv/jellyfin/cache:/cache" + "/srv/media:/media" + ]; + ports = [ "8096:8096" ]; + }; +} diff --git a/nixos/lavender/containers/prowlarr.nix b/nixos/lavender/containers/prowlarr.nix new file mode 100644 index 0000000..10b6b46 --- /dev/null +++ b/nixos/lavender/containers/prowlarr.nix @@ -0,0 +1,14 @@ +{ ... }: + +{ + # Prowlarr + virtualisation.oci-containers.containers."prowlarr" = { + autoStart = true; + image = "cr.hotio.dev/hotio/prowlarr"; + volumes = [ + "/srv/prowlarr/config:/config" + "/srv/media:/media" + ]; + ports = [ "9696:9696" ]; + }; +} diff --git a/nixos/lavender/containers/qbittorrent.nix b/nixos/lavender/containers/qbittorrent.nix new file mode 100644 index 0000000..117ee27 --- /dev/null +++ b/nixos/lavender/containers/qbittorrent.nix @@ -0,0 +1,14 @@ +{ ... }: + +{ + # Qbittorrent + virtualisation.oci-containers.containers."qbittorrent" = { + autoStart = true; + image = "cr.hotio.dev/hotio/qbittorrent"; + volumes = [ + "/srv/qbittorrent/config:/config" + "/srv/media:/media" + ]; + ports = [ "8080:8080" ]; + }; +} diff --git a/nixos/lavender/containers/radarr.nix b/nixos/lavender/containers/radarr.nix new file mode 100644 index 0000000..fd146cf --- /dev/null +++ b/nixos/lavender/containers/radarr.nix @@ -0,0 +1,14 @@ +{ ... }: + +{ + # Radarr + virtualisation.oci-containers.containers."radarr" = { + autoStart = true; + image = "cr.hotio.dev/hotio/radarr"; + volumes = [ + "/srv/radarr/config:/config" + "/srv/media:/media" + ]; + ports = [ "7878:7878" ]; + }; +} diff --git a/nixos/lavender/containers/sonarr.nix b/nixos/lavender/containers/sonarr.nix new file mode 100644 index 0000000..86506c2 --- /dev/null +++ b/nixos/lavender/containers/sonarr.nix @@ -0,0 +1,14 @@ +{ ... }: + +{ + # Sonarr + virtualisation.oci-containers.containers."sonarr" = { + autoStart = true; + image = "cr.hotio.dev/hotio/sonarr"; + volumes = [ + "/srv/sonarr/config:/config" + "/srv/media:/media" + ]; + ports = [ "8989:8989" ]; + }; +}