Skip to content

Instantly share code, notes, and snippets.

@Dema
Created November 20, 2019 15:14
Show Gist options
  • Save Dema/d9b9b8edb36976bea53305b9d87a098d to your computer and use it in GitHub Desktop.
Save Dema/d9b9b8edb36976bea53305b9d87a098d to your computer and use it in GitHub Desktop.
Nix snippets
nix-instantiate --strict --json --eval -E 'builtins.map (p: p.name) (import <nixpkgs/nixos> {}).config.environment.systemPackages' | nix run nixpkgs.jq -c jq -r '.[]' | sort -u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment