NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.28k stars 14.26k forks source link

RFC42 tracking issue #144575

Open mkg20001 opened 3 years ago

mkg20001 commented 3 years ago

RFC42 is the future, let's migrate to it

List generated with grep -rn "extraConfig\|extraOptions" nixos/modules | grep "=" | sed -r "s|(.*.nix):.+|\1|g" | sed "s|nixos/modules/|- [ ] |g" | grep -v pl | grep -v xml | uniq
polykernel commented 3 years ago

I think some of the modules in the list are false positives, some already implement structural settings but provide extraConfig as a fallback or use extraConfig from another module. The list is a helpful reference nonetheless.

ShamrockLee commented 2 years ago

With PR #139075 merged, we're going to have nix.settings!

pingiun commented 2 years ago

Logrotate can be checked as it was done in https://github.com/NixOS/nixpkgs/commit/e92c05349c6053df22cf21eb9f424251ba2b114f

peterhoeg commented 2 years ago

NFS is in progress, https://github.com/NixOS/nixpkgs/pull/177601

KFearsoff commented 2 years ago

Grafana is done.

peterhoeg commented 1 year ago

The big one is all the programs under the systemd project umbrella. It should be probably be done piecemeal but it requires a fair amount of work.

matthiasbeyer commented 1 year ago

services/network-filesystems/ipfs.nix is done (in https://github.com/NixOS/nixpkgs/pull/197104)

Yarny0 commented 11 months ago

Now that https://github.com/NixOS/nixpkgs/pull/253428 got merged, the "programs/tsm-client.nix" checkbox may be ticked.

SigmaSquadron commented 2 months ago

virtualisation/xen-dom0.nix is partially done with #324911. Since the oxenstored format isn't standard, I've opted to just map the option definitions to the file in etc.environment. I'd appreciate some feedback if there's any way to do it more efficiently. There's still the xl configuration left, which is non-trivial and will happen later, alongside a declarative VM builder.

RafaelKr commented 2 months ago

I'd like to mention that PHP (not the phpfpm module) also uses extraConfig. There it also would make sense to migrate to RFC42. See https://github.com/NixOS/nixpkgs/blob/a9478ce4d0378dce2f672bae392fb67afaae4158/pkgs/development/interpreters/php/generic.nix