Justfile: add update task

This commit is contained in:
Erwin Boskma 2023-10-09 14:35:02 +02:00
parent e32f453ded
commit 9a21e85c03
Signed by: erwin
SSH key fingerprint: SHA256:9LmFDe1C6jSrEyqxxvX8NtJBmcbB105XoqyUZF092bg

View file

@ -3,6 +3,9 @@ set dotenv-load
default: default:
@just --choose @just --choose
update:
nix flake update --commit-lock-file
build machine="": build machine="":
nixos-rebuild --flake .#{{machine}} build nixos-rebuild --flake .#{{machine}} build