about summary refs log tree commit diff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile10
1 files changed, 7 insertions, 3 deletions
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}}' \