diff options
| -rw-r--r-- | justfile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -6,12 +6,10 @@ default: @just --list os hostname='kansai': - git add . - rui os switch --hostname {{hostname}} -- --impure + git add . && rui os switch --hostname {{hostname}} -- --impure home user='ebisu': - git add . - rui home switch --user {{user}} -- --impure + git add . && rui home switch --user {{user}} -- --impure news user='ebisu': rui home news --user {{user}} @@ -26,11 +24,13 @@ restore: git restore --staged . && git restore . deploy hostname='himeji' user='root': - nixos-rebuild \ + git add . && nixos-rebuild \ --flake .#{{hostname}} \ --target-host {{user}}@{{hostname}} \ --use-remote-sudo \ switch provision ip hostname: - doas nix run github:nix-community/nixos-anywhere -- --flake .#{{hostname}} root@{{ip}} + doas nix run github:nix-community/nixos-anywhere \ + -- \ + --flake .#{{hostname}} root@{{ip}} |