logoalt Hacker News

uncletaco • today at 9:29 PM • 2 replies • view on HN

It’s all fine and dandy until it deletes the nix store


Replies

nocoolnametom • today at 10:59 PM

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.

colordrops • today at 11:07 PM

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.