From 98aa8dbbd7087594b51fcd6ffb20f76d1e3dd54b Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 20 Sep 2024 05:48:45 -0700 Subject: just: ensure git add --- justfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/justfile b/justfile index c2684ce..128815c 100644 --- a/justfile +++ b/justfile @@ -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}} -- cgit v1.2.3