about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-10-05 10:34:59 -0700
committerFranck Cuny <franck@fcuny.net>2024-10-05 10:34:59 -0700
commit8098129583e39dfd507cc9d10dfcff0d0ac97c29 (patch)
treef4c137ea065134446b01f9955e622d29b756ab15
parentclean up the devshell setup (diff)
downloadworld-8098129583e39dfd507cc9d10dfcff0d0ac97c29.tar.gz
build and deploy configuration for remote host
-rw-r--r--justfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/justfile b/justfile
index 0e67acd..b8a2e13 100644
--- a/justfile
+++ b/justfile
@@ -22,3 +22,9 @@ test-nix:
 # run various formatting tools
 fmt:
 	nix fmt
+
+build-wildcat:
+	nixos-rebuild build --target-host fcuny.net --build-host fcuny@fcuny.net --fast --use-remote-sudo --flake .#wildcat --use-substitutes
+
+switch-wildcat:
+	nixos-rebuild switch --target-host fcuny.net --build-host fcuny@fcuny.net --fast --use-remote-sudo --flake .#wildcat --use-substitutes