diff options
| author | Fuwn <[email protected]> | 2024-09-18 21:00:49 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-18 21:00:49 -0700 |
| commit | 67cf042f6dc370c2cc6d02a944893f081418264a (patch) | |
| tree | 406a2971c76a376c1c02219f746b46b04869b349 /justfile | |
| parent | boot: emulated arm64 (diff) | |
| download | nixos-config-67cf042f6dc370c2cc6d02a944893f081418264a.tar.xz nixos-config-67cf042f6dc370c2cc6d02a944893f081418264a.zip | |
hosts: himeji
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -24,3 +24,10 @@ commit message: restore: git restore --staged . && git restore . + +deploy hostname='himeji' user='root': + nixos-rebuild \ + --flake .#{{hostname}} \ + --target-host {{user}}@{{hostname}} \ + --use-remote-sudo \ + switch |