Nix  2.93.0-dev
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::RemoteStoreConfig Struct Reference
Inheritance diagram for nix::RemoteStoreConfig:
[legend]
Collaboration diagram for nix::RemoteStoreConfig:
[legend]

Public Member Functions

 StoreConfig ()=delete
 
- Public Member Functions inherited from nix::StoreConfig
virtual const std::string name ()=0
 
virtual std::string doc ()
 
virtual std::optional< ExperimentalFeatureexperimentalFeature () const
 
 Config (StringMap initials={})
 
- Public Member Functions inherited from nix::Config
 Config (StringMap initials={})
 
bool set (const std::string &name, const std::string &value, const ApplyConfigOptions &options={}) override
 
void addSetting (AbstractSetting *setting)
 
void getSettings (std::map< std::string, SettingInfo > &res, bool overriddenOnly=false) override
 
void resetOverridden () override
 
JSON toJSON () override
 
void convertToArgs (Args &args, const std::string &category) override
 
- Public Member Functions inherited from nix::AbstractConfig
void applyConfig (const std::string &contents, const ApplyConfigOptions &options={})
 
void warnUnknownSettings ()
 
void reapplyUnknownSettings ()
 

Public Attributes

const Setting< int > maxConnections
 
const Setting< unsigned int > maxConnectionAge
 
- Public Attributes inherited from nix::StoreConfig
const PathsSetting< PathstoreDir_
 
const Path storeDir = storeDir_
 
const Setting< int > pathInfoCacheSize
 
const Setting< bool > isTrusted
 
Setting< int > priority
 
Setting< bool > wantMassQuery
 
Setting< StringSet > systemFeatures
 

Additional Inherited Members

- Public Types inherited from nix::StoreConfig
typedef std::map< std::string, std::string > Params
 
- Public Types inherited from nix::Config
using Settings = std::map<std::string, SettingData>
 
- Static Public Member Functions inherited from nix::StoreConfig
static StringSet getDefaultSystemFeatures ()
 
- Protected Member Functions inherited from nix::AbstractConfig
 AbstractConfig (StringMap initials={})
 
- Protected Attributes inherited from nix::AbstractConfig
StringMap unknownSettings
 

Member Data Documentation

◆ maxConnectionAge

const Setting<unsigned int> nix::RemoteStoreConfig::maxConnectionAge
Initial value:
{this,
std::numeric_limits<unsigned int>::max(),
"max-connection-age",
"Maximum age of a connection before it is closed."}

◆ maxConnections

const Setting<int> nix::RemoteStoreConfig::maxConnections
Initial value:
{this, 1, "max-connections",
"Maximum number of concurrent connections to the Nix daemon."}

The documentation for this struct was generated from the following file: