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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 13

  • @Datababble
    @Datababble 6 หลายเดือนก่อน +16

    "Big YAML" received a chuckle. Very much enjoyed the talk, thank you Xe!

  • @senoraraton
    @senoraraton 7 หลายเดือนก่อน +21

    "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.

  • @vaisakhkm783
    @vaisakhkm783 8 หลายเดือนก่อน +4

    i got nixos hype and using it for past month....
    now youtubej can't stop me suggesting nixos videos...
    great talk anyway..

  • @blanky0230
    @blanky0230 9 หลายเดือนก่อน +4

    My favorite talk that year :)

  • @nodupe
    @nodupe 8 หลายเดือนก่อน

    Nice!

  • @c1dk1n
    @c1dk1n 8 หลายเดือนก่อน +10

    The speaker's ability to roll with the punches when his technology lets him down is amazing

    • @Cadey
      @Cadey 5 หลายเดือนก่อน +11

      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!

  • @dotanuki3371
    @dotanuki3371 6 หลายเดือนก่อน +7

    "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

    • @lopsidedpolygon
      @lopsidedpolygon 3 หลายเดือนก่อน

      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!
      ^_^

    • @lopsidedpolygon
      @lopsidedpolygon 3 หลายเดือนก่อน

      Ah, i forgot to mention the channel, "System Crafters", he has a GUISX playlist. 😂

  • @CaseyHancocki3luefire
    @CaseyHancocki3luefire 2 หลายเดือนก่อน

    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?

  • @bstar777777
    @bstar777777 8 หลายเดือนก่อน +10

    QR code failure. You can't put this out to the internet and expect to ever shut down your laptop again.

    • @andherium
      @andherium 4 หลายเดือนก่อน +4

      This was a demo duh!