diff options
Diffstat (limited to 'bin/new-nixos-query')
-rwxr-xr-x | bin/new-nixos-query | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/new-nixos-query b/bin/new-nixos-query new file mode 100755 index 000000000..57761b520 --- /dev/null +++ b/bin/new-nixos-query @@ -0,0 +1,8 @@ +#! /bin/sh +set -euf +nix-instantiate \ + -A config."$1" \ + --eval \ + --json \ + '<nixos>' \ + | jq -r . |