diff options
-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 |