Local Daemon Store
Store URL format: daemon, unix://path
This store type accesses a Nix store by talking to a Nix daemon listening on the Unix domain socket path.
When path is not specified (i.e. the daemon pseudo-URL or bare unix://),
the socket path is determined as follows:
-
The
NIX_DAEMON_SOCKET_PATHenvironment variable, if set. -
Otherwise,
daemon-socket/socketwithin thestatedirectory.
Settings
-
Directory where Nix stores log files.
Defaults to
NIX_LOG_DIRwhenrootis not set.Default:
/nix/var/log/nix -
Maximum age of a connection before it is closed.
Default:
4294967295 -
Maximum number of concurrent connections to the Nix daemon.
Default:
1 -
Size of the in-memory store path metadata cache.
Default:
65536 -
Priority of this store when used as a substituter. A lower value means a higher priority.
Default:
0 -
Physical path of the Nix store.
Defaults to
storewhenrootis not set.Default:
/nix/store -
Directory prefixed to all other paths.
Default: ``
-
Directory where Nix stores state.
Defaults to
NIX_STATE_DIRwhenrootis not set.Default:
/dummy -
Logical location of the Nix store, usually
/nix/store.Defaults to
NIX_STORE_DIRif unset.Note that you can only copy store paths between stores if they have the same
storesetting.Default:
/nix/store -
Optional system features available on the system this store uses to build derivations.
Example:
"kvm"Default: machine-specific
-
Whether paths from this store can be used as substitutes even if they are not signed by a key listed in the
trusted-public-keyssetting.Default:
false -
Whether this store can be queried efficiently for path validity when used as a substituter.
Default:
false