just inspect
This commit is contained in:
parent
9c44d3ebf3
commit
eda4821d07
3
justfile
3
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..."
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user