mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
desktop deploy
This commit is contained in:
parent
366a0e221a
commit
db3dda1f0b
5 changed files with 14 additions and 13 deletions
9
justfile
9
justfile
|
|
@ -62,8 +62,15 @@ deploy-factor hostname target='':
|
|||
|
||||
tmp_dir := "/tmp/secrets/" + uuid()
|
||||
|
||||
[group("deploy")]
|
||||
deploy hostname *ARGS:
|
||||
nix run nixpkgs#nixos-rebuild -- \
|
||||
--flake .#{{ hostname }} \
|
||||
{{ ARGS }} switch
|
||||
|
||||
|
||||
[group('deploy')]
|
||||
deploy hostname target:
|
||||
deploy-remote hostname target:
|
||||
#!/usr/bin/env -S bash -e
|
||||
git add .
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue