mirror of
https://github.com/NixOS/nix.git
synced 2025-11-23 10:49:36 +01:00
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.
This commit is contained in:
parent
341c42f321
commit
6a017a2a87
6 changed files with 174 additions and 2 deletions
10
doc/manual/rl-next/socket-only-daemon.md
Normal file
10
doc/manual/rl-next/socket-only-daemon.md
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue