Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is my favorite use of CLI AI coding tools: updating my nix config. I can just ask my computer to configure services for me!




Indeed! This morning I needed a service to port forward ssh from my server to a firewalled machine, to access stuff while I work from a mountain cabin over the next few days. ChatGPT gave me a nice nix config snippet, and it just worked! Auto reconnecting and everything.

I would of course have thrown up a port forward manually today, and maybe even spent the time to add a service later, but now it was fixed once and “forever” in two minutes!

I remember when people claimed to use NixOs in order to have a deterministic, repeatable setup.

my setup is SO deterministic and repeatable that it hurts sometimes

AI generated Nix is equally deterministic and repeatable. The deterministic behavior makes Nix well suited for AI yolo code, either it evaluates and builds or it doesn't, and if the result isn't functional you revert back to the previous generation.

That is the use case for NixOS yes, can you clarify how it is no longer deterministic? I have been using it for a few months and was not aware of this change



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: