summaryrefslogtreecommitdiffstats
path: root/newbin/nixos-query
blob: 57761b5202838336904002fd78815c0a184f4e15 (plain)
1
2
3
4
5
6
7
8
#! /bin/sh
set -euf
nix-instantiate \
    -A config."$1" \
    --eval \
    --json \
    '<nixos>' \
  | jq -r .