siemens / meta-iot2050

SIMATIC IOT2050 Isar/Debian Board Support Package
MIT License
130 stars 79 forks source link

NixOS? #312

Closed mmport80 closed 2 years ago

mmport80 commented 2 years ago

I would like to install NixOS. Any tips on where to start?

michaeladler commented 2 years ago

Hi @mmport80 ,

I guess a good starting point would be the NixOS wiki page for ARM (in particular the section "Porting NixOS to new boards").

The next step is to translate the relevant ISAR recipes from meta-iot2050 to corresponding Nix expressions. In particular, you might be interested in the kernel config and patches and board-support packages, e.g. firmware.

I hope that gives you a starting point.

mmport80 commented 2 years ago

thanks!

mmport80 commented 2 years ago

Hmm, ISAR seems like it has some NixOS features, but for Debian. Learnt something new. Thanks! : )

michaeladler commented 2 years ago

Yes, although there is a lot more mutable state involved. Ideally, the mutable state is kept to a minimum though. Good luck and feel free to share your results, maybe someone else will find it useful, too :)