From 153422f74b1ed5cae37c9424514a9e9d1f79acb4 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 11 Jul 2015 19:44:12 +0200 Subject: move old stuff --- old/bin/nixos-query | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 old/bin/nixos-query (limited to 'old/bin/nixos-query') diff --git a/old/bin/nixos-query b/old/bin/nixos-query new file mode 100755 index 0000000..1111aea --- /dev/null +++ b/old/bin/nixos-query @@ -0,0 +1,4 @@ +#! /bin/sh +set -euf +result=$(nix-instantiate -A config."$1" --eval --json '') +echo $result | jq -r . -- cgit v1.2.3