1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-12 21:46:01 +01:00
nix/doc/manual/rl-next/socket-only-daemon.md
Robert Hensing 6a017a2a87 Enable socket-only daemon operations without filesystem access
Allows the Nix daemon to serve store paths purely over Unix domain
sockets without requiring the client to have filesystem access to
the store directory. This can be useful for VM setups where the host
serves paths to the guest via socket.

Tests verify socket-only operations work for copying, substitution,
and remote building (tested on Linux), with both local and binary cache stores.
2025-11-05 15:43:41 +01:00

463 B

synopsis
Nix daemon can serve store paths over sockets without filesystem access

The Nix daemon can now serve store paths purely over Unix domain sockets without requiring the client to have filesystem access to the store directory. This can be useful for VM setups where the host serves store paths to the guest via socket, with the guest having no direct access to the host's /nix/store.

This works for copying paths, substitution, and building.