aboutsummaryrefslogtreecommitdiff
path: root/justfile
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 /justfile
parentfix misconfiguration of the bootloader (diff)
downloadinfra-2099e513213a518d4e1e03e97e74cb6c58648399.tar.gz
add docstring to justfile
Diffstat (limited to 'justfile')
-rw-r--r--justfile4
1 files changed, 4 insertions, 0 deletions
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}}