Open mkg20001 opened 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.
With PR #139075 merged, we're going to have nix.settings
!
Logrotate can be checked as it was done in https://github.com/NixOS/nixpkgs/commit/e92c05349c6053df22cf21eb9f424251ba2b114f
NFS is in progress, https://github.com/NixOS/nixpkgs/pull/177601
Grafana is done.
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.
services/network-filesystems/ipfs.nix
is done (in https://github.com/NixOS/nixpkgs/pull/197104)
Now that https://github.com/NixOS/nixpkgs/pull/253428 got merged, the "programs/tsm-client.nix" checkbox may be ticked.
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.
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
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