stockholm/old/bin/nixos-query
2015-07-11 19:44:12 +02:00

5 lines
108 B
Bash
Executable File

#! /bin/sh
set -euf
result=$(nix-instantiate -A config."$1" --eval --json '<nixos>')
echo $result | jq -r .