about summary refs log tree commit diff stats
path: root/bootstrap/activate/activate.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbootstrap/activate/activate.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bootstrap/activate/activate.sh b/bootstrap/activate/activate.sh
index a9e6f99a..ea914de7 100755
--- a/bootstrap/activate/activate.sh
+++ b/bootstrap/activate/activate.sh
@@ -67,7 +67,8 @@ case $result in
         msg "Great, select a host-config:"
         hosts=$(mktmp);
         host="";
-        awk -F "." '/nixosConfiguration/{print $2}' "$(tmp 'curl https://git.sils.li/ene/nixos-config/raw/branch/prime/flake.nix 2> /dev/null')" | awk '{print $1}' > $hosts;
+
+        awk -F "." '/inputs.nixpkgs.lib.nixosSystem/{print $1}' "$(tmp 'curl https://git.sils.li/ene/nixos-config/raw/branch/prime/flake/nixosConfigurations/default.nix 2> /dev/null')" | awk '{print $1}' > $hosts;
 
         while ! grep "$host" "$hosts" > /dev/null || [ "$(printf "%s" "$host" | wc -c)" -eq 0 ]; do
             i=1;