1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-13 20:30:02 +00:00

add flake build example to readme

This commit is contained in:
Daiderd Jordan 2020-12-19 10:13:35 +01:00 committed by Daiderd Jordan
parent 72c6e6f0d4
commit 7e4b134554
No known key found for this signature in database
GPG key ID: 373D8D8DF3FDA129

View file

@ -100,7 +100,8 @@ configuration can be built. The `hostname(1)` of your system will be used to de
which darwin configuration is applied if it's not specified explicitly in the flake ref.
```sh
darwin-rebuild switch --flake ~/.config/darwin
nix build ~/.config/darwin\#darwinConfigurations.Johns-MacBook.system
./result/sw/bin/darwin-rebuild switch --flake ~/.config/darwin
```
## Manual Install