![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
Public Member Functions | |
| StringSet | getDefaultSystemFeatures () |
| StringSet | getDefaultExtraPlatforms () |
| bool | isWSL1 () |
| LocalSettings & | getLocalSettings () |
| const LocalSettings & | getLocalSettings () const |
| LogFileSettings & | getLogFileSettings () |
| const LogFileSettings & | getLogFileSettings () const |
| WorkerSettings & | getWorkerSettings () |
| const WorkerSettings & | getWorkerSettings () const |
| NarInfoDiskCacheSettings & | getNarInfoDiskCacheSettings () |
| const NarInfoDiskCacheSettings & | getNarInfoDiskCacheSettings () const |
| ProfileDirsOptions | getProfileDirsOptions () const |
| Public Member Functions inherited from nix::Config | |
| Config (StringMap initials={}) | |
| bool | set (const std::string &name, const std::string &value) override |
| void | addSetting (AbstractSetting *setting) |
| void | getSettings (std::map< std::string, SettingInfo > &res, bool overriddenOnly=false) const override |
| void | resetOverridden () override |
| nlohmann::json | toJSON () override |
| std::string | toKeyValue (bool overriddenOnly=false) override |
| void | convertToArgs (Args &args, const std::string &category) override |
| Public Member Functions inherited from nix::AbstractConfig | |
| void | applyConfig (const std::string &contents, const std::string &path="<unknown>") |
| void | warnUnknownSettings () |
| void | reapplyUnknownSettings () |
Static Public Member Functions | |
| static unsigned int | getDefaultCores () |
Public Attributes | |
| std::filesystem::path | nixStateDir |
| Setting< StoreReference > | storeUri |
| Setting< bool > | useSQLiteWAL {this, !isWSL1(), "use-sqlite-wal", "Whether SQLite should use WAL mode."} |
| Setting< bool > | keepFailed {this, false, "keep-failed", "Whether to keep temporary directories of failed builds."} |
| bool | verboseBuild = true |
| bool | readOnlyMode = false |
| Setting< std::string > | thisSystem |
| Setting< Strings > | trustedPublicKeys |
| Setting< Strings > | secretKeyFiles |
| Setting< bool > | requireSigs |
| Setting< StringSet > | extraPlatforms |
| Setting< StringSet > | systemFeatures |
| Setting< std::set< StoreReference > > | trustedSubstituters |
| Setting< bool > | printMissing |
| Setting< bool > | useXDGBaseDirectories |
| Setting< uint64_t > | warnLargePathThreshold |
Additional Inherited Members | |
| Public Types inherited from nix::Config | |
| using | Settings = std::map<std::string, SettingData> |
| Protected Member Functions inherited from nix::AbstractConfig | |
| AbstractConfig (StringMap initials={}) | |
| Protected Attributes inherited from nix::AbstractConfig | |
| StringMap | unknownSettings |
|
inline |
Get the local store settings.
|
inline |
Get the log file settings.
|
inline |
Get the NAR info disk cache settings.
| ProfileDirsOptions nix::Settings::getProfileDirsOptions | ( | ) | const |
Get the options needed for profile directory functions.
|
inline |
Get the worker settings.
| std::filesystem::path nix::Settings::nixStateDir |
The directory where state is stored.
| Setting<bool> nix::Settings::printMissing |
| bool nix::Settings::readOnlyMode = false |
Read-only mode. Don't copy stuff to the store, don't change the database.
| Setting<bool> nix::Settings::requireSigs |
| Setting<Strings> nix::Settings::secretKeyFiles |
| Setting<StoreReference> nix::Settings::storeUri |
| Setting<std::string> nix::Settings::thisSystem |
| Setting<Strings> nix::Settings::trustedPublicKeys |
| Setting<std::set<StoreReference> > nix::Settings::trustedSubstituters |
| bool nix::Settings::verboseBuild = true |
Whether to show build log output in real time.
| Setting<uint64_t> nix::Settings::warnLargePathThreshold |