From e4e769a7adaaa287cba1de8f04f04367c8c16d84 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 9 Dec 2024 15:25:25 -0800 Subject: fix misconfiguration of the bootloader --- justfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'justfile') diff --git a/justfile b/justfile index 992a107..6dea92f 100644 --- a/justfile +++ b/justfile @@ -5,17 +5,19 @@ nixaddr := "" hostname := lowercase(`hostname -s`) -# update dependencies [group('nix')] +[doc('update dependencies')] update-deps: nix flake update --commit-lock-file -# a simple check to ensure the nix configuration is OK +[group('nix')] +[doc('a simple check to ensure the nix configuration is OK')] test-nix: nix flake check nix develop -c echo OK -# run various formatting tools +[group('nix')] +[doc('run various formatting tools')] fmt: nix fmt @@ -39,6 +41,7 @@ build: switch: nixos-rebuild switch --flake .#{{hostname}} +[group('vm')] vm-bootstrap: #!/usr/bin/env bash set -euxo pipefail @@ -65,6 +68,7 @@ vm-bootstrap: nixos-install --no-root-passwd && reboot; \ " +[group('vm')] vm-copy: #!/usr/bin/env bash rsync -av -e 'ssh {{SSH_OPTIONS}}' \ -- cgit 1.4.1