Hacker News new | past | comments | ask | show | jobs | submit
That's only true for the declarative parts of your system. What if AI decides to delete your photo library and you don't have a backup? Or it deletes your old generations to "save space"?
I guess you missed

> Combine it with a good personal file backup system like borg and you're golden

As for old generations, I keep my system flakes in a git repo. Even if they're garbage collected I could checkout the old commit and rebuild if necessary.

Git is the way to go. Again, I think all of this stuff can easily be set up for non-tech people out of the box: backups, git repo, built-in AI agent, perhaps running locally using a small model fine tuned for the OS. All optional.
Yeah, declarativeness and sandboxing are almost orthogonal.

However, it is worth noting that Nix has pretty good sandboxing facilities.

Nevertheless, more tooling on this area would be welcome. It is still a bit behind Guix.

Use a sandboxing tool that offers restrictions on the filesystem and rollbacks on whatever parts the LLM agent has write access to. I use this one: https://nono.sh/
Interesting. I've just been using bubblewrap but this one has more flexibility. Thanks for sharing.
That's why I mentioned the backup system as a requirement. Ideally the OS can help set this up for non-techy folks from the get-go.
zfs snapshots, which its now allowed to touch.
maybe back up your important files?
Hmmm.... In my use cases, ai just writes the nix expressions and simulates my entire data center setup in qemu. It also writes a script to deploy the thing. I do the final deployment
ZFS and many other filesystems have snapshots. LLMs don't go around deleting snapshots yet.
loading story #50753571
loading story #50752577