3 ms·
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!
by conradev 10mo ago
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!
- fijiaarone 10mo agoI remember when people claimed to use NixOs in order to have a deterministic, repeatable setup.
- lillecarl 10mo agoAI 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.
- 12345hn6789 10mo agoThat 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
- conradev 10mo agomy setup is SO deterministic and repeatable that it hurts sometimes
- black_knight 10mo agoIndeed! 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.
- black_knight 10mo agoI 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!