logoalt Hacker News

Acrobatic_Road • today at 8:17 PM • 8 replies • view on HN

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


Replies

tosser811 • today at 8:20 PM

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.

➕ show 1 reply
nextos • today at 8:32 PM

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.

pxc • today at 8:19 PM

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/

➕ show 1 reply
eblanshey • today at 8:21 PM

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.

jmoggr • today at 10:16 PM

zfs snapshots, which its now allowed to touch.

tripleee • today at 8:21 PM

maybe back up your important files?

anon291 • today at 8:45 PM

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

greenavocado • today at 8:41 PM

ZFS and many other filesystems have snapshots. LLMs don't go around deleting snapshots yet.

➕ show 2 replies