From 2026ff9fd5b2d5d1001affae02809035b3d6cc47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Numbus?= Date: Fri, 9 Jan 2026 14:13:37 +0100 Subject: [PATCH] Typo and missing sheband --- deploy.sh | 2 +- templates/nix-config/misc/activation.nix | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 98ff266..508fdec 100644 --- a/deploy.sh +++ b/deploy.sh @@ -390,7 +390,7 @@ services_generation() { if [[ "${service}" != "virtualization" ]]; then if [[ "${service}" == "nextcloud" ]]; then cp templates/nix-config/podman/${service}.nix final-nix-config/etc/nixos/podman/${service}.nix - PODMAN_NETWORKS+=". \${pkgs.podman}/bin/podman network create --driver=bridge --subnet=172.16.${j}0.0/24 --ip-range=172.16.${j}0.0/24 --gateway=172.16.${j}0.254 nextcloud-aio"$'\n' + PODMAN_NETWORKS+=" \${pkgs.podman}/bin/podman network create --driver=bridge --subnet=172.16.${j}0.0/24 --ip-range=172.16.${j}0.0/24 --gateway=172.16.${j}0.254 nextcloud-aio"$'\n' TRAEFIK_NETWORKS+=" nextcloud-aio:"$'\n' TRAEFIK_NETWORKS+=" ipv4_address: 172.16.${j}0.253"$'\n' TRAEFIK_REF_NETWORKS+=" nextcloud-aio:"$'\n' diff --git a/templates/nix-config/misc/activation.nix b/templates/nix-config/misc/activation.nix index 90a7da3..49ed951 100644 --- a/templates/nix-config/misc/activation.nix +++ b/templates/nix-config/misc/activation.nix @@ -10,6 +10,8 @@ RemainAfterExit = true; }; script = '' + #!/usr/bin/env bash + if [[ -e /home/numbus-admin/.numbus-server/chowned.true ]]; then exit 0 fi @@ -34,6 +36,8 @@ RemainAfterExit = true; }; script = '' + #!/usr/bin/env bash + if [[ -e /home/numbus-admin/.numbus-server/networked.true ]]; then exit 0 fi