diff --git a/justfile b/justfile index 772899d..0b59bcf 100644 --- a/justfile +++ b/justfile @@ -1,11 +1,13 @@ set shell := ["nu", "-c"] +pwd := `pwd` + default: @just --choose build-package: nix build . test-metadata: - nix eval --json .#nixosConfigurations.tester.config.test | str replace --all '"' '' | open $in + nix eval --json '.#nixosConfigurations.tester.config.test' | str replace --all '"' '' | open $in eval-hostKeys: - nix eval --expr $"builtins.mapAttrs \(_: v: v.config.services.openssh.hostKeys) \(builtins.getFlake \"(pwd)\").nixosConfigurations" --impure --json | jq + nix eval --expr "builtins.mapAttrs (_: v: v.config.services.openssh.hostKeys) (builtins.getFlake "{{ pwd }}").nixosConfigurations" --impure --json | jq