about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-09 17:29:56 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-09 17:29:56 -0800
commit2099e513213a518d4e1e03e97e74cb6c58648399 (patch)
tree23ce612c59d72e65af0031854f7b0d5574f85645
parentfix misconfiguration of the bootloader (diff)
downloadworld-2099e513213a518d4e1e03e97e74cb6c58648399.tar.gz
add docstring to justfile
-rw-r--r--.gitignore1
-rw-r--r--justfile4
2 files changed, 5 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 7f2acd4..942f51c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@
 /*.qcow2
 bin/
 /.direnv/
+/secrets/
diff --git a/justfile b/justfile
index 6dea92f..18f5068 100644
--- a/justfile
+++ b/justfile
@@ -22,21 +22,25 @@ fmt:
 	nix fmt
 
 [group('machines')]
+[doc('build the configuration for the current host')]
 [macos]
 build:
 	darwin-rebuild build --flake .#{{hostname}}
 
 [group('machines')]
+[doc('switch the configuration for the current host')]
 [macos]
 switch:
 	darwin-rebuild switch --flake .#{{hostname}}
 
 [group('machines')]
+[doc('build the configuration for the current host')]
 [linux]
 build:
 	nixos-rebuild build --flake .#{{hostname}}
 
 [group('machines')]
+[doc('switch the configuration for the current host')]
 [linux]
 switch:
 	nixos-rebuild switch --flake .#{{hostname}}