just realized that i can just do this in nushell:
def open-nix [file: path] {
nix eval --json -f $file | from json
}
i previously generated shell scripts with nix itself with really cursed loop unrolls but i think nushell is the perfect solution for this. the result is really cool
