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:
parent
72c6e6f0d4
commit
7e4b134554
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue