summaryrefslogtreecommitdiff
path: root/templates/nixos/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'templates/nixos/justfile')
-rw-r--r--templates/nixos/justfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/nixos/justfile b/templates/nixos/justfile
index a6f8655..5b524fb 100644
--- a/templates/nixos/justfile
+++ b/templates/nixos/justfile
@@ -1,5 +1,5 @@
-alias b := boot
-alias s := switch
+alias bo := boot
+alias bu := build
alias sw := switch
alias t := test
@@ -15,6 +15,9 @@ rebuild subcmd *args="":
# Switch to your new configuration when you reboot
boot *args="": (rebuild "boot" args)
+# Build your new configuration
+build *args="": (rebuild "build" args)
+
# Immediately switch to your new configuration
switch *args="": (rebuild "switch" args)