summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Thomé <carlthome@gmail.com>2023-09-19 01:03:22 +0200
committerCarl Thomé <carlthome@gmail.com>2023-09-19 01:03:22 +0200
commit6cd2f4cea255623076722f9acbc3e0db2d0ee43d (patch)
tree4676dff4685d176335ea39933f856d3a90fd00f4
parent22419fddf7f6c4db378dde8e597a405436a292e5 (diff)
Replace hostname with LocalHostName
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index b3b0028..b29d8a7 100644
--- a/README.md
+++ b/README.md
@@ -88,7 +88,7 @@ cd ~/.config/nix-darwin
nix flake init -t nix-darwin
```
-Make sure to replace all occurrences of `simple` with your short hostname which you can find by running `hostname -s`.
+Make sure to replace all occurrences of `simple` with your hostname which you can find by running `scutil --get LocalHostName`.
> NOTE: Make sure to change `nixpkgs.hostPlatform` to `aarch64-darwin` if you are using Apple Silicon.
@@ -118,7 +118,7 @@ Add the following to `flake.nix` in the same folder as `configuration.nix`:
}
```
-Make sure to replace `Johns-MacBook` with your short hostname which you can find by running `hostname -s`.
+Make sure to replace `Johns-MacBook` with your hostname which you can find by running `scutil --get LocalHostName`.
> NOTE: Make sure to set `nixpkgs.hostPlatform` in your `configuration.nix` to either `x86_64-darwin` (Intel) or `aarch64-darwin` (Apple Silicon).