Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::LocalFSStoreConfig Struct Reference
Inheritance diagram for nix::LocalFSStoreConfig:
nix::StoreConfig nix::Config nix::AbstractConfig nix::LocalStoreConfig nix::UDSRemoteStoreConfig

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 PathsSetting< std::optional< Path > > rootDir
const PathsSetting< PathstateDir
const PathsSetting< PathlogDir
const PathsSetting< PathrealStoreDir
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

◆ logDir

const PathsSetting<Path> nix::LocalFSStoreConfig::logDir
Initial value:
{this,
rootDir.get() ? *rootDir.get() + "/nix/var/log/nix" : settings.nixLogDir,
"log",
"directory where Lix will store log files."}

◆ realStoreDir

const PathsSetting<Path> nix::LocalFSStoreConfig::realStoreDir
Initial value:
{this,
rootDir.get() ? *rootDir.get() + "/nix/store" : storeDir, "real",
"Physical path of the Nix store."}

◆ rootDir

const PathsSetting<std::optional<Path> > nix::LocalFSStoreConfig::rootDir
Initial value:
{this, std::nullopt,
"root",
"Directory prefixed to all other paths."}

◆ stateDir

const PathsSetting<Path> nix::LocalFSStoreConfig::stateDir
Initial value:
{this,
rootDir.get() ? *rootDir.get() + "/nix/var/nix" : settings.nixStateDir,
"state",
"Directory where Lix will store state."}

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