lib.mkIf returns an attrset, not a string, so it cannot be used
as a list element. Replace with lib.optional.
Fixes: error: expected a string but found a set: { _type = "if"; ... }
|
||
|---|---|---|
| .. | ||
| 11th-gen-intel | ||
| 12th-gen-intel | ||
| 13th-gen-intel | ||
| 7040-amd | ||
| amd-ai-300-series | ||
| common | ||
| intel-core-ultra-series1 | ||