My understanding is that currently GC roots (symlinks in profiles/gcroots) are created and deleted directly by the various Nix tools, even in multi-user configurations. (whether on NixOS or on another Linux distribution)
It seems to me that it would be useful for the daemon to handle making GC roots, and forbid users to directly create GC roots. The features that come to mind: - Allows later implementing policy about GC roots/space consumption - Allows avoiding complicated locking around doing GC - Allows /nix to be put on network storage transparently - Allows /nix to be shared between containers transparently The network-storage-/nix use case may be the most important, since there seems to be a lot of people who want to put /nix on NFS. Thoughts? Has this been considered? Thanks for Nix! _______________________________________________ nix-dev mailing list [email protected] https://mailman.science.uu.nl/mailman/listinfo/nix-dev
