mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
adds `nixConf` (to generate `nix.conf` files) as a file format to `lib.formats`, and uses it for serializing `nix.settings`. this makes it easier to 'manually' serialize `nix.settings`, which is relevant in e.g. safely handling sensitive values such as that of `nix.settings.access-tokens`. Signed-off-by: cinereal <cinereal@riseup.net>