aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 58f9a53ea003e857d7949286fd70548dee177fe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
## corenix

#### *Configure and build coreboot using the Nix package manager*

*How to use:*

1. Create a configuration file for your device in `configs/`
2. Add an entry to flake.nix, i.e. `my-device = makeDevice ./configs/my-device.nix;`
3. Build the coreboot rom: `nix build -A pkgs.my-device`

*Features*

- Specify the build parameters with NixOS-style modules
- Share declarative configuration across devices
- Use cached coreboot and payload builds for different device/payload combinations

*Limitations*

- currently only `x86_64-linux` host and target systems are supported
- Only GRUB2 and TianoCore primary payloads are supported for now