Justfile: support rebuild of remote device
This commit is contained in:
parent
0211fa66b9
commit
18a628070a
1 changed files with 5 additions and 0 deletions
5
Justfile
5
Justfile
|
@ -16,6 +16,11 @@ _rebuild-device dir rebuildarg="dry-activate" +moreargs="": _render_templates
|
||||||
set -ex
|
set -ex
|
||||||
just -v _device rebuild {{dir}} --argstr rebuildarg {{rebuildarg}} {{moreargs}}
|
just -v _device rebuild {{dir}} --argstr rebuildarg {{rebuildarg}} {{moreargs}}
|
||||||
|
|
||||||
|
rebuild-remote-device dir target rebuildarg="dry-activate" :
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -ex
|
||||||
|
just -v _rebuild-device {{dir}} {{rebuildarg}} --argstr moreargs "'--target-host\ {{target}}'"
|
||||||
|
|
||||||
# Rebulid this device's NixOS
|
# Rebulid this device's NixOS
|
||||||
rebuild-this-device rebuildarg="dry-activate":
|
rebuild-this-device rebuildarg="dry-activate":
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue