desktop deploy

This commit is contained in:
Nickolaj Jepsen 2025-02-19 20:08:25 +00:00
parent 366a0e221a
commit db3dda1f0b
5 changed files with 14 additions and 13 deletions

View file

@ -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 .