Include NixOS into configuration #2
@ -18,7 +18,7 @@ Make sure the following is installed:
|
|||||||
If you don't have `git` installed and are running macOS, run the following command:
|
If you don't have `git` installed and are running macOS, run the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo xcode-select
|
sudo xcode-select --install
|
||||||
```
|
```
|
||||||
|
|
||||||
If you don't have `nix` installed and are running Linux, use the Determinate Nix Installer!
|
If you don't have `nix` installed and are running Linux, use the Determinate Nix Installer!
|
||||||
@ -57,6 +57,12 @@ For macOS systems:
|
|||||||
nix run nix-darwin --extra-experimental-features nix-command --extra-experimental-features flakes -- switch --flake .#<hostname>
|
nix run nix-darwin --extra-experimental-features nix-command --extra-experimental-features flakes -- switch --flake .#<hostname>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
_or_
|
||||||
|
|
||||||
|
```bash
|
||||||
|
darwin-rebuild switch --flake .#<hostname>
|
||||||
|
```
|
||||||
|
|
||||||
where `<hostname>` is the particular configuration you would like to run.
|
where `<hostname>` is the particular configuration you would like to run.
|
||||||
|
|
||||||
Non-NixOS Linux systems should be coming soon!
|
Non-NixOS Linux systems should be coming soon!
|
||||||
|
Loading…
Reference in New Issue
Block a user