update containers + add some more
This commit is contained in:
parent
d2c3cd93a1
commit
8928af8c38
|
@ -13,17 +13,25 @@
|
||||||
|
|
||||||
# You can also split up your configuration and import pieces of it here:
|
# You can also split up your configuration and import pieces of it here:
|
||||||
|
|
||||||
# Containers
|
# Homepage
|
||||||
./containers/homepage.nix
|
./containers/homepage.nix
|
||||||
./containers/pihole.nix
|
|
||||||
|
|
||||||
# Media server containers
|
# Multimedia
|
||||||
./containers/jellyfin.nix
|
./containers/plex.nix
|
||||||
./containers/sonarr.nix
|
./containers/sonarr.nix
|
||||||
./containers/radarr.nix
|
./containers/radarr.nix
|
||||||
./containers/prowlarr.nix
|
./containers/overseerr.nix
|
||||||
|
|
||||||
|
# DevOps
|
||||||
|
./containers/gitea.nix
|
||||||
|
./containers/code-server.nix
|
||||||
|
|
||||||
|
# Documents & Files
|
||||||
./containers/qbittorrent.nix
|
./containers/qbittorrent.nix
|
||||||
|
|
||||||
|
# Utilities
|
||||||
|
./containers/pihole.nix
|
||||||
|
|
||||||
# Import your generated (nixos-generate-config) hardware configuration
|
# Import your generated (nixos-generate-config) hardware configuration
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
13
nixos/lavender/containers/code-server.nix
Normal file
13
nixos/lavender/containers/code-server.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# Code server
|
||||||
|
virtualisation.oci-containers.containers."code-server" = {
|
||||||
|
autoStart = true;
|
||||||
|
image = "lscr.io/linuxserver/code-server:latest";
|
||||||
|
volumes = [
|
||||||
|
"/srv/code-server:/config"
|
||||||
|
];
|
||||||
|
ports = [ "8443:8443" ];
|
||||||
|
};
|
||||||
|
}
|
17
nixos/lavender/containers/gitea.nix
Normal file
17
nixos/lavender/containers/gitea.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# Gitea
|
||||||
|
virtualisation.oci-containers.containers."gitea" = {
|
||||||
|
autoStart = true;
|
||||||
|
image = "gitea/gitea:latest";
|
||||||
|
volumes = [
|
||||||
|
"/srv/gitea:/data"
|
||||||
|
"/etc/localtime:/etc/localtime:ro"
|
||||||
|
];
|
||||||
|
ports = [
|
||||||
|
"4000:3000"
|
||||||
|
"2221:22"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
|
@ -6,7 +6,7 @@
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
image = "ghcr.io/benphelps/homepage:latest";
|
image = "ghcr.io/benphelps/homepage:latest";
|
||||||
volumes = [
|
volumes = [
|
||||||
"/srv/homepage/config:/app/config"
|
"/srv/homepage:/app/config"
|
||||||
];
|
];
|
||||||
ports = [ "3000:3000" ];
|
ports = [ "3000:3000" ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
# 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" ];
|
|
||||||
};
|
|
||||||
}
|
|
13
nixos/lavender/containers/overseerr.nix
Normal file
13
nixos/lavender/containers/overseerr.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# Overseerr
|
||||||
|
virtualisation.oci-containers.containers."overseerr" = {
|
||||||
|
autoStart = true;
|
||||||
|
image = "sctx/overseerr:latest";
|
||||||
|
volumes = [
|
||||||
|
"/srv/overseer:/app/config"
|
||||||
|
];
|
||||||
|
ports = [ "5055:5055" ];
|
||||||
|
};
|
||||||
|
}
|
14
nixos/lavender/containers/plex.nix
Normal file
14
nixos/lavender/containers/plex.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# Plex
|
||||||
|
virtualisation.oci-containers.containers."plex" = {
|
||||||
|
autoStart = true;
|
||||||
|
image = "lscr.io/linuxserver/plex:latest";
|
||||||
|
volumes = [
|
||||||
|
"/srv/plex:/config"
|
||||||
|
"/srv/media:/media"
|
||||||
|
];
|
||||||
|
ports = [ "32400:32400" ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,14 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
# 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" ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -6,7 +6,7 @@
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
image = "cr.hotio.dev/hotio/qbittorrent";
|
image = "cr.hotio.dev/hotio/qbittorrent";
|
||||||
volumes = [
|
volumes = [
|
||||||
"/srv/qbittorrent/config:/config"
|
"/srv/qbittorrent:/config"
|
||||||
"/srv/media:/media"
|
"/srv/media:/media"
|
||||||
];
|
];
|
||||||
ports = [ "8080:8080" ];
|
ports = [ "8080:8080" ];
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
image = "cr.hotio.dev/hotio/radarr";
|
image = "cr.hotio.dev/hotio/radarr";
|
||||||
volumes = [
|
volumes = [
|
||||||
"/srv/radarr/config:/config"
|
"/srv/radarr:/config"
|
||||||
"/srv/media:/media"
|
"/srv/media:/media"
|
||||||
];
|
];
|
||||||
ports = [ "7878:7878" ];
|
ports = [ "7878:7878" ];
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
image = "cr.hotio.dev/hotio/sonarr";
|
image = "cr.hotio.dev/hotio/sonarr";
|
||||||
volumes = [
|
volumes = [
|
||||||
"/srv/sonarr/config:/config"
|
"/srv/sonarr:/config"
|
||||||
"/srv/media:/media"
|
"/srv/media:/media"
|
||||||
];
|
];
|
||||||
ports = [ "8989:8989" ];
|
ports = [ "8989:8989" ];
|
||||||
|
|
Loading…
Reference in a new issue