Just having deep dive into the weeds of nix/OS and do some learning.
Seems
writes it’s results to a json file
spec = pkgs.writeText "users-groups.json" (builtins.toJSON {
trying to parse this output with jq fails with
jq: error: syntax error, unexpected IDENT, expecting $end (Unix shell quoting issues?) at , line 1:
834saalk8s897bznwk8qm93l5lcqhyn3-users-groups.json
jq: 1 compile error
i presume that the json that builtins.toJSON is not exactly what jq likes?