Fix minor pi-hole appearing twice
This commit is contained in:
@@ -249,7 +249,7 @@ services_selection() {
|
||||
echo -e "\n\n ➡️ You will now select the services you want installed on your server:"
|
||||
|
||||
local AVAILABLE_SERVICES=( "frigate" "gitea" "home-assistant" "immich" "it-tools" \
|
||||
"nextcloud" "passbolt" "pi-hole" "virtualization" )
|
||||
"nextcloud" "passbolt" "virtualization" )
|
||||
|
||||
local SERVICES_DESCRIPTION=( "Pi-Hole [Always included] : Block ads on all your devices" \
|
||||
"Immich : Pictures and videos backup with local machine-learning" \
|
||||
@@ -445,7 +445,7 @@ services_generation() {
|
||||
cp -${FILES_COPY_FLAGS} templates/nix-config/podman/traefik.nix final-nix-config/etc/nixos/podman/traefik.nix
|
||||
cp -${FILES_COPY_FLAGS} templates/nix-config/podman/pi-hole.nix final-nix-config/etc/nixos/podman/pi-hole.nix
|
||||
envsubst < templates/podman-config/traefik/traefik.yaml > final-nix-config/mnt/config/traefik/traefik.yaml
|
||||
generate_network "pi-hole" "0"
|
||||
generate_network "pi-hole"
|
||||
export FTLCONF_WEBSERVER_PASSWORD="$(xkcdpass -d "-")"
|
||||
|
||||
for service in "${SELECTED_SERVICES[@]}"; do
|
||||
@@ -522,7 +522,7 @@ services_generation() {
|
||||
|
||||
# Other podman containers with no special configuration
|
||||
else
|
||||
generate_network "${service}" "0"
|
||||
generate_network "${service}"
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user