Open ShamrockLee opened 1 year ago
Seems to function fine, please address the comments from the previous review.
Sorry, for late respond. I'm working on an oral presentation for a conference about Nix, and will not be responsive until August.
Oh, sure, no rush, take your time (and consider sharing the talk =).
Are you still interested in mainlining this?
Oh! I almost forgot about this one.
Since then, things like the Nix settings and Nix flake registries have been splitted from nix-daemon.nix
to their own module file (nix.nix
and nix-flakes.nix
). It would be great to reuse them.
This patch ports the structural settings from nixos/nix-daemon (https://github.com/NixOS/nixpkgs/pull/139075) and adjust the description based on those from previous options and the Home Manager nix.settings option (https://github.com/nix-community/home-manager/pull/2718).
If applied, users could specify their
nix.conf
configuration in a structural way, using attribute names identical to the official documentation of Nix, and merge the corresponding attributes from different modules. We don't have to add or change any of the attributes manually whennix.conf
configuration options are added / changed upstream given that the configuration format is kept consistent.The specified configurations are automatically checked using the specified Nix package. The checks can be partially or fully opt out with the
checkAllError
andcheckConfig
options.