summaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile12
1 files changed, 9 insertions, 3 deletions
diff --git a/justfile b/justfile
index 09af5d4..0ac8be8 100644
--- a/justfile
+++ b/justfile
@@ -59,10 +59,16 @@ update-input input:
--commit-lock-file \
--commit-lockfile-summary "flake: update {{ input }}"
+deploy system:
+ nix run \
+ --inputs-from . \
+ 'nixpkgs#deploy-rs' -- \
+ -s '.#{{ system }}'
+
deploy-all:
- for system in "atlas"; do \
- nix run ".#$system"; \
- done
+ nix run \
+ --inputs-from . \
+ 'nixpkgs#deploy-rs' -- -s
pre-commit:
pre-commit run