2023-06-26 19:49:43 +00:00
|
|
|
{
|
2025-02-10 21:55:08 +00:00
|
|
|
lib,
|
|
|
|
writeText,
|
2023-06-26 19:49:43 +00:00
|
|
|
}:
|
2025-02-10 21:55:08 +00:00
|
|
|
name: config:
|
|
|
|
writeText name (
|
|
|
|
builtins.concatStringsSep "\n" (
|
|
|
|
lib.mapAttrsToList (
|
|
|
|
name: value: (if value == "n" then "# CONFIG_${name} is not set" else "CONFIG_${name}=${value}")
|
|
|
|
) config
|
|
|
|
)
|
|
|
|
)
|