error:
… while calling the 'head' builtin
at /nix/store/fpivx4sjcp2vk4rp9nhliln5cwcp3kc6-source/lib/attrsets.nix:1575:11:
1574| || pred here (elemAt values 1) (head values) then
1575| head values
| ^
1576| else
… while evaluating the attribute 'value'
at /nix/store/fpivx4sjcp2vk4rp9nhliln5cwcp3kc6-source/lib/modules.nix:821:9:
820| in warnDeprecation opt //
821| { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
822| inherit (res.defsFinal') highestPrio;
(stack trace truncated; use '--show-trace' to show the full trace)
error: cannot convert a function to JSON
at /nix/store/bx5hkjqmjjy416lw2z51192hs7nk48pz-source/lib.nix:120:18:
119|
120| mkVencordCfg = cfg:
| ^
121| let
Trying to configure settings.json like this:
Results in: