upvote
Certainly possible on a plain `nix` installation on a regular Linux distro, but within NixOS the store is mounted as a RO drive and is only re-mounted temporarily when obtaining new derivations (either cached downloads or building them) so even a `sudo rm` can't touch them. The AI agent would have to be _extremely_ persistent to try and access the store and I can't imagine even a dumb model being simultaneously dumb enough to decide that it needs to fiddle with the story files directly while also being smart enough to try doing it.
reply
it could delete everything on any distro, or any computer for that matter. Nothing to do with any deficiency in Nix. In fact the nix store is read-only and is pretty difficult to delete unintentionally.
reply