diff --git a/starter/configuration.nix b/starter/configuration.nix index 8e089d9..f64e2f5 100644 --- a/starter/configuration.nix +++ b/starter/configuration.nix @@ -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) diff --git a/starter/install.sh b/starter/install.sh index 212bca8..533abf1 100755 --- a/starter/install.sh +++ b/starter/install.sh @@ -132,6 +132,8 @@ get_device_name() { esac } +setup_from_template + # Collect user input echo "📝 Please provide the following information:" echo "-------------------------------------------"