1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-04-09 02:30:29 +00:00

Update README.md

ADD a note about adding '/run/current-system/sw/bin' to path in order to access the 'darwin-rebuild' command if the command is not found
This commit is contained in:
Jakub Svec 2024-03-30 12:00:17 -07:00 committed by GitHub
parent 36524adc31
commit 2e9c7a5f3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -138,6 +138,8 @@ After installing, you can run `darwin-rebuild` to apply changes to your system:
darwin-rebuild switch --flake ~/.config/nix-darwin
```
NOTE: if the 'darwin-rebuild' command is not found, you will need to add a path to your ~/.bashrc or ~/.zshrc file. In the file, add: `export PATH=/run/current-system/sw/bin:$PATH`
#### Using flake inputs
Inputs from the flake can also be passed into `darwinSystem`. These inputs are then