diff options
| author | Fuwn <[email protected]> | 2024-09-20 05:48:45 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-20 05:48:45 -0700 |
| commit | 98aa8dbbd7087594b51fcd6ffb20f76d1e3dd54b (patch) | |
| tree | 436246c0314d585a74f1906f07d893a76f766742 | |
| parent | server: modular container engine (diff) | |
| download | nixos-config-98aa8dbbd7087594b51fcd6ffb20f76d1e3dd54b.tar.xz nixos-config-98aa8dbbd7087594b51fcd6ffb20f76d1e3dd54b.zip | |
just: ensure git add
| -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}} |