aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
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}}