diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-09-29 23:12:43 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-09-29 23:12:43 +0200 |
commit | 6d717b2da78f904516b5a598bb4ca46178c39096 (patch) | |
tree | b4c9a20b5815dff8fd4435e0317f2ca49a87ec31 | |
parent | Fix jitsi? (diff) | |
download | Rory-Open-Architecture-6d717b2da78f904516b5a598bb4ca46178c39096.tar.xz |
rebuild-wsl: do not try to deploy if build fails
-rwxr-xr-x | rebuild-wsl.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rebuild-wsl.sh b/rebuild-wsl.sh index afa93ef..7c095a6 100755 --- a/rebuild-wsl.sh +++ b/rebuild-wsl.sh @@ -9,6 +9,5 @@ if [ -d "nixpkgs" ]; then fi nix flake update -nom build .#nixosConfigurations.${HOSTNAME}.config.system.build.toplevel -sudo nixos-rebuild switch --flake .#${HOSTNAME} +nom build .#nixosConfigurations.${HOSTNAME}.config.system.build.toplevel && sudo nixos-rebuild switch --flake .#${HOSTNAME} #./build.sh / $HOSTNAME |