Writing your own NixOS modules for fun and (hopefully) profit
ฝัง
- เผยแพร่เมื่อ 13 ก.ย. 2023
- media.ccc.de/v/all-systems-go...
This talk will be a whirlwind overview of NixOS modules and the lessons I've learned with maintaining and writing new ones.
Nix modules are the core of how you organize configuration and service config, but there's a lot of "draw the rest of the owl" subtext as to how you actually go about writing them. This talk covers some best practices for how to write and organize your NixOS modules so that you can have fun and hopefully profit from it.
Xe Iaso
cfp.all-systems-go.io/all-sys...
#asg2023 - วิทยาศาสตร์และเทคโนโลยี
"Big YAML" received a chuckle. Very much enjoyed the talk, thank you Xe!
"There has got to be something simpler here" Lol, I love Nixos, but NixOs is not "simpler" at least in the process of learning how to actually leverage the technology. Learning Kubernetes was childs play, compared to learning NixoS, for me at least.
i got nixos hype and using it for past month....
now youtubej can't stop me suggesting nixos videos...
great talk anyway..
My favorite talk that year :)
Nice!
The speaker's ability to roll with the punches when his technology lets him down is amazing
Speaker here. Honestly the technology messing up made me a lot more comfortable. It was also right after an emergency alert test so that also made me in a more “fuck it, we ball” mood. I’m glad it came across well though!
"once you get past all the syntax checking, and all of the syntax errors ..."
well, at least you get those, so you can fix stuff. nix just barfs the stack where the evaluation failed. then you get to guess your way forward
You might wanna check out GNU GUIX, which is the same thing as NixOS, but they use Scheme Guile (a lisp) for their config language. Tracking syntax down errors is a breeze in most Lisps. There is a youtube channel that has an excellent GUIX tutorial, if you wanna check it out!
May the Omnisiah bless your configs!
^_^
Ah, i forgot to mention the channel, "System Crafters", he has a GUISX playlist. 😂
was that the same person that said they didn't see any need for flakes a year or so ago? if so, what changed their mind?
QR code failure. You can't put this out to the internet and expect to ever shut down your laptop again.
This was a demo duh!