Skip to content

Commit

Permalink
make the switcher generic and use hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Sep 8, 2021
1 parent 63ec667 commit 8e1a0f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion machines.sh
Expand Up @@ -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
Expand Down

0 comments on commit 8e1a0f0

Please sign in to comment.