Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
-
  • Loading branch information
oluceps committed Sep 12, 2024
1 parent d8f7c49 commit 14ee585
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 14ee585

Please sign in to comment.