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 ''
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
/run/current-system/sw/bin/docker network create web
fi
system.activationScripts.mkVPN = ''
${pkgs.docker}/bin/docker network create web
'';
# System state version (do not change)

View File

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