about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--justfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/justfile b/justfile
index 5179ff1..0e67acd 100644
--- a/justfile
+++ b/justfile
@@ -8,11 +8,11 @@ update-deps:
 
 # build (and only build) the configuration for darwin
 build-darwin:
-	darwin-rebuild build --flake .#
+	darwin-rebuild build --flake .#$(hostname -s)
 
 # build and switch the configuration for darwin
 switch-darwin:
-	darwin-rebuild switch --flake .#
+	darwin-rebuild switch --flake .#$(hostname -s)
 
 # a simple check to ensure the nix configuration is OK
 test-nix: