2026-04-12 16:20:50 -04:00
|
|
|
# Nix Kickstart
|
|
|
|
|
|
|
|
|
|
Written by Wyatt J. Miller, 2026
|
|
|
|
|
|
|
|
|
|
Licensed by the EPL 2.0
|
|
|
|
|
|
2026-04-12 17:43:49 -04:00
|
|
|
## How to configure
|
|
|
|
|
|
|
|
|
|
Change the following variables in `flake.nix` to tailor the build to your preferences:
|
|
|
|
|
|
|
|
|
|
- `userName`
|
|
|
|
|
- `userEmail`
|
|
|
|
|
- `hostName`
|
|
|
|
|
- `timeZone`
|
|
|
|
|
|
2026-04-12 16:20:50 -04:00
|
|
|
## How to build
|
|
|
|
|
|
|
|
|
|
### System
|
|
|
|
|
|
|
|
|
|
If building for `nix-darwin`:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
nix run nix-darwin --extra-experimental-features nix-command --extra-experimental-features flakes -- switch --flake .#<hostname>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Don't forget to substitute your hostname!
|
|
|
|
|
|
|
|
|
|
### Home
|
|
|
|
|
|
|
|
|
|
If building for `home-manager`:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
nix build .#homeConfigurations."hostname".activationPackage
|
|
|
|
|
./result/activate
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Don't forget to substitute your hostname!
|