justfile: init #56

Merged
pederbs merged 3 commits from justfile into main 2024-08-07 12:22:04 +02:00
1 changed files with 7 additions and 0 deletions
Showing only changes of commit 34637e383a - Show all commits

View File

@ -10,5 +10,12 @@ check:
build-machine machine=`just _a_machine`: build-machine machine=`just _a_machine`:
{{nom}} build .#nixosConfigurations.{{ machine }}.config.system.build.toplevel {{nom}} build .#nixosConfigurations.{{ machine }}.config.system.build.toplevel
@update-inputs:
nix eval .#inputs --apply builtins.attrNames --json \
| jq '.[]' -r \
| gum choose --no-limit --height=15 \
| xargs nix flake update --commit-lock-file
_a_machine: _a_machine:
nix eval .#nixosConfigurations --apply builtins.attrNames --json | jq .[] -r | gum filter nix eval .#nixosConfigurations --apply builtins.attrNames --json | jq .[] -r | gum filter