mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 10:33:39 +00:00
Standardize rebuild script across platforms
This commit is contained in:
13
README.md
13
README.md
@@ -8,21 +8,16 @@ The configuration is very specific to my own machines and setup, but it may be a
|
||||
|
||||
## Setup
|
||||
|
||||
### NixOS
|
||||
> on macOS: install the latest unstable nix from https://github.com/numtide/nix-unstable-installer (for nix flakes),
|
||||
> and nix-darwin: https://github.com/LnL7/nix-darwin
|
||||
|
||||
```sh
|
||||
sudo ./rebuild.sh switch
|
||||
```
|
||||
|
||||
### macOS
|
||||
|
||||
1. Install the latest unstable nix from https://github.com/numtide/nix-unstable-installer (to get nix flakes)
|
||||
1. Install nix-darwin: https://github.com/LnL7/nix-darwin
|
||||
To run a rebuild:
|
||||
|
||||
```sh
|
||||
./rebuild.sh switch
|
||||
```
|
||||
|
||||
|
||||
## Update
|
||||
|
||||
To update nixpkgs defined in [flake.nix](./flake.nix), run:
|
||||
|
Reference in New Issue
Block a user