diff options
| author | Carl Thomé <carlthome@gmail.com> | 2023-05-29 12:10:46 +0200 |
|---|---|---|
| committer | Carl Thomé <carlthome@gmail.com> | 2023-09-19 00:59:27 +0200 |
| commit | 22419fddf7f6c4db378dde8e597a405436a292e5 (patch) | |
| tree | ef8f141c24aeb20d7b338213a1cacf6f1575cf7d /pkgs | |
| parent | 80bb201f4925cdda5a7a3c7b1900fb26bb2af2e8 (diff) | |
Use LocalHostName
Diffstat (limited to 'pkgs')
| -rw-r--r-- | pkgs/nix-tools/darwin-rebuild.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/nix-tools/darwin-rebuild.sh b/pkgs/nix-tools/darwin-rebuild.sh index d8c66bd..2d288bd 100644 --- a/pkgs/nix-tools/darwin-rebuild.sh +++ b/pkgs/nix-tools/darwin-rebuild.sh @@ -132,7 +132,7 @@ if [ -n "$flake" ]; then flakeAttr=${fragment} fi if [ -z "$flakeAttr" ]; then - flakeAttr=$(hostname -s) + flakeAttr=$(scutil --get LocalHostName) fi flakeAttr=darwinConfigurations.${flakeAttr} fi |
