From 8e1a0f05f3c5296553cd88d611857a6fe60d8f39 Mon Sep 17 00:00:00 2001 From: Brian Hicks Date: Wed, 8 Sep 2021 07:50:26 -0500 Subject: [PATCH] make the switcher generic and use hostname --- machines.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machines.sh b/machines.sh index 3a0cefa..c711488 100755 --- a/machines.sh +++ b/machines.sh @@ -7,7 +7,7 @@ case "$(uname -s)" in ;; Darwin) - nix-shell "-p" nixUnstable --run 'nix --experimental-features "nix-command flakes" build .#darwinConfigurations.flame.system' + nix-shell "-p" nixUnstable --run "nix --experimental-features 'nix-command flakes' build .#darwinConfigurations.$(hostname -s).system" if test "$@" != "build"; then ./result/sw/bin/darwin-rebuild --flake . "$@" fi