1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-31 04:04:45 +00:00
This commit is contained in:
Jakub Svec 2025-03-25 03:42:10 +05:00 committed by GitHub
commit aaa1aec4ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -105,12 +105,15 @@ nix run nix-darwin/nix-darwin-24.11#darwin-rebuild -- switch
### Step 3. Using `nix-darwin`
After installing, you can run `darwin-rebuild` to apply changes to your system:
After installation, restarting your computer will make `darwin-rebuild` available in your `PATH`. After restarting, you can apply changes in your configuration by running:
```bash
darwin-rebuild switch
```
> NOTE: if the 'darwin-rebuild' command is not found after installation, you will need to add a path to your shell configuration (f.e. the ~/.bashrc or ~/.zshrc file).
> To to so, add: `export PATH=/run/current-system/sw/bin:$PATH` in your shell configuration file.
#### Using flake inputs
Inputs from the flake can also be passed into `darwinSystem`. These inputs are then