summaryrefslogtreecommitdiff
path: root/templates/nixos/justfile
diff options
context:
space:
mode:
authorseth <[email protected]>2024-10-16 21:18:46 -0400
committerseth <[email protected]>2024-10-16 23:23:33 -0400
commit19b64bed1e31489de83f0c7d1b0ec1e77e3f7c49 (patch)
treeab2d101836db1d44f09996a9bea7469dfe2ec80d /templates/nixos/justfile
parent43d30b3ea28ab03a2e6da5101dc2b84918f18c51 (diff)
templates: cleanup
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)