Skip to content

Instantly share code, notes, and snippets.

@infinisil
Created February 14, 2018 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save infinisil/7954f1aa473bea156bb287235859ed3c to your computer and use it in GitHub Desktop.
Save infinisil/7954f1aa473bea156bb287235859ed3c to your computer and use it in GitHub Desktop.
#! /usr/bin/env nix-shell
#! nix-shell -i bash -p jq less
nix-instantiate --eval --strict -E 'map (x: x.name) (import <nixpkgs/nixos> {}).config.environment.systemPackages' --json | jq -r '.[]' | sort -u | less
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment