activation script fix

This commit is contained in:
m3tam3re 2025-02-18 09:36:15 +01:00
parent 8f23618b47
commit 75be09e846
2 changed files with 4 additions and 4 deletions

View File

@ -173,10 +173,8 @@ in {
}; };
}; };
system.activationScripts.createDockerNetworkWeb = lib.mkAfter '' system.activationScripts.mkVPN = ''
if ! /run/current-system/sw/bin/docker network ls | /run/current-system/sw/bin/awk '{print $2}' | /run/current-system/sw/bin/grep -q 'web'; then ${pkgs.docker}/bin/docker network create web
/run/current-system/sw/bin/docker network create web
fi
''; '';
# System state version (do not change) # System state version (do not change)

View File

@ -132,6 +132,8 @@ get_device_name() {
esac esac
} }
setup_from_template
# Collect user input # Collect user input
echo "📝 Please provide the following information:" echo "📝 Please provide the following information:"
echo "-------------------------------------------" echo "-------------------------------------------"