summaryrefslogtreecommitdiffstats
path: root/bin/nixos-query
blob: 1111aead51494f34333a64f044af48ad9086ea42 (plain)
1
2
3
4
#! /bin/sh
set -euf
result=$(nix-instantiate -A config."$1" --eval --json '<nixos>')
echo $result | jq -r .