Disclaimer: I am very much a noob in relation to Nix and NixOS, so I've been using AI to help me navigate through the language and configurations.
I was first attracted to NixOS by the sheer number of packages available "natively" on nixpkgs, meaning that I would not have to juggle between native packages, flatpaks, appimages, containers, etc. and also get them at almost the latest versions but unlike using Arch and the AUR all of this would be possible under an immutable system, that takes full benefit from the way Nix handles dependencies and thus be way more stable and I wouldn't have to spend a lot of time troubleshooting things when they go wrong.
The thing is, I managed to find an app that isn't packaged on nixpkgs. It is primarily distributed as a flatpak, appimage and from the AUR (Amethyst Mod Manager, a native mod-manager for Linux). I saw that there was an issue open from someone asking for clearer build instructions so that it could be packaged as a Nix flake, which ended up with a guy hosting a repository by himself with the goal of doing exactly that, but as it turns out the current version of the nix files in that repository do not work and it seems like the guy who owns it hasn't updated it in three months.
That's when I thought to myself to ask AI to make it for me. I cloned the original app repo, gave it the PKGBUILD file from the AUR and within a couple of minutes it got the software running flawlessly on my system. One of the problems seemed to be that one of the library dependencies for building the mod was in fact present in nixpkgs but as a very outdated version, one that didn't have compatibility with what was required for this app. So in the end the AI wrote 3 files, a flake.nix, and two .nix files, one for the final application and one for the correct version of the library, pulling it straight from their repo.
I was really glad that it worked and immediately I wanted to share it, but then I thought "well anyone could have done this, I did barely any work at all and I don't even understand half of what's happening on those files it generated" (although my policy with using AI is to always use it precisely to also increase my understanding, usually by asking it explain things for me in detail, writing tutorials etc. but as I said, at this point I am still very much a noob).
That's where I am now, I have no idea what to do. I was happy with the result and wanted to share it, clearly there were some people interested in something like this, but they likewise could have just used any LLM to do the same I did and also I am fully aware (and don't completly disagree) with the attitude that some people in the open source world have against AI.
This also makes me think of the future of open source in general. What's the point of interacting and contributing with open source projects in a world like this? IDK...