mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-31 04:04:45 +00:00
Merge edb2f6a1fd
into ebb88c3428
This commit is contained in:
commit
aaa1aec4ed
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue