modernize nixos-generate-config