summaryrefslogtreecommitdiff
path: root/Building NixOS disk images using disko.md
blob: 86341550cb0515464a66e2a69e3971af21d2ffa7 (plain)
1
2
3
4
5
6
7
[Documentation](https://github.com/nix-community/disko/blob/master/docs/disko-images.md)

---

No special configuration is required besides the disk config from disko and setting the `imageSize` property in it.

Disko includes a script that we can call using nix build and via referencing it through the flake: `nix build .#nixosConfigurations.myhost.config.system.build.diskoImageScript`.