![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
Classes | |
| struct | Register |
Public Types | |
| typedef std::vector< Config * > | ConfigRegistrations |
Public Member Functions | |
| bool | set (const std::string &name, const std::string &value) override |
| 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 ConfigRegistrations & | configRegistrations () |
Additional Inherited Members | |
| Protected Member Functions inherited from nix::AbstractConfig | |
| AbstractConfig (StringMap initials={}) | |
| Protected Attributes inherited from nix::AbstractConfig | |
| StringMap | unknownSettings |
|
overridevirtual |
Converts settings to Args to be used on the command line interface
Implements nix::AbstractConfig.
|
overridevirtual |
Adds the currently known settings to the given result map res.
Implements nix::AbstractConfig.
|
overridevirtual |
Resets the overridden flag of all Settings
Implements nix::AbstractConfig.
|
overridevirtual |
Sets the value referenced by name to value. Returns true if the setting is known, false otherwise.
Implements nix::AbstractConfig.
|
overridevirtual |
Outputs all settings to JSON
Implements nix::AbstractConfig.
|
overridevirtual |
Outputs all settings in a key-value pair format suitable to be used as nix.conf
Implements nix::AbstractConfig.