diff --git a/justfile b/justfile index 57a600a..8175626 100644 --- a/justfile +++ b/justfile @@ -37,6 +37,9 @@ push hostname=`just _a_host` cmd=`gum choose test switch boot --header "Select m @echo pushing... NIX_NO_NOM=1 NIX_SSHOPTS="-tt" nixos-rebuild {{cmd}} --flake .#{{hostname}} --use-remote-sudo --target-host $(nix eval .#nixosReports.{{hostname}}.fqdn --json | jq . -r) --use-substitutes +inspect: + nix run -- nixpkgs#nix-inspect -p . + @_a_host: nix eval .#nixosConfigurations --apply builtins.attrNames --json 2>/dev/null | jq '.[]' -r | gum filter --placeholder "Pick a host..."