From 41c16a62ecc19f264aa7ca373bf50d1788d9538a Mon Sep 17 00:00:00 2001 From: ene Date: Tue, 21 Feb 2023 08:50:18 +0100 Subject: Fix(bootstrap): Adapt to the new flake config --- bootstrap/install/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bootstrap/install') diff --git a/bootstrap/install/install.sh b/bootstrap/install/install.sh index 37a5e758..be44cde3 100755 --- a/bootstrap/install/install.sh +++ b/bootstrap/install/install.sh @@ -99,7 +99,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; -- cgit 1.4.1