Open bbigras opened 3 years ago
I also wonder if there could be a way to use nix files instead of the json file.
If all you care about it building an SD or ISO image, it's possible but wasn't well documented. I've added a section to the docs for this:
https://github.com/matthewbauer/nixiosk#nixos-module--flake-configuration
It provides some packages to build a system. Rebuilding is not exactly clear.
Sorry for the late reply. Can this work to generate a pxe image?
Yes! For instance see example-pxe in template.
You can try it out with:
nix shell github:matthewbauer/nixiosk -c nixiosk-pixiecore --flake github:matthewbauer/nixiosk\?dir=template#nixosConfigurations.example-pxe
(replacing flake with your own flake config)
It seems that in the json, "package" is for the name of a pkg.
I would like to be able to use something like
./my_app.nix
.My ultimate goal is to be able to build all of this in my configuration.nix.