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

Public Attributes

Path nixPrefix
Path nixStore
Path nixDataDir
Path nixLogDir
Path nixStateDir
Path nixConfDir
std::vector< PathnixUserConfFiles
Path nixBinDir
Path nixManDir
Path nixDaemonSocketFile
bool verboseBuild = true
bool readOnlyMode = false

Additional Inherited Members

Public Types inherited from nix::Config
using Settings = std::map<std::string, SettingData>
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 ()
Protected Member Functions inherited from nix::AbstractConfig
 AbstractConfig (StringMap initials={})
Protected Attributes inherited from nix::AbstractConfig
StringMap unknownSettings

Member Data Documentation

◆ nixBinDir

Path nix::Settings::nixBinDir

The directory where the main programs are stored.

◆ nixConfDir

Path nix::Settings::nixConfDir

The directory where system configuration files are stored.

◆ nixDaemonSocketFile

Path nix::Settings::nixDaemonSocketFile

File name of the socket the daemon listens to.

◆ nixLogDir

Path nix::Settings::nixLogDir

The directory where we log various operations.

◆ nixManDir

Path nix::Settings::nixManDir

The directory where the man pages are stored.

◆ nixStateDir

Path nix::Settings::nixStateDir

The directory where state is stored.

◆ nixStore

Path nix::Settings::nixStore

The directory where we store sources and derived files.

◆ nixUserConfFiles

std::vector<Path> nix::Settings::nixUserConfFiles

A list of user configuration files to load.

◆ readOnlyMode

bool nix::Settings::readOnlyMode = false

Read-only mode. Don't copy stuff to the store, don't change the database.

◆ verboseBuild

bool nix::Settings::verboseBuild = true

Whether to show build log output in real time.


The documentation for this class was generated from the following files: