diff --git a/run.sh b/run.sh index cf324c4..920deaf 100755 --- a/run.sh +++ b/run.sh @@ -1,6 +1,6 @@ #! /usr/bin/env nix-shell #! nix-shell -i bash -p bash -sudo nixos-rebuild \ - --option eval-cache false \ - --flake /workspace/deployed-nixos-server-and-apps \ - switch +sudo \ + nixos-rebuild switch \ + --option eval-cache false \ + --flake /workspace/deployed-nixos-server-and-apps#linode-nixos diff --git a/test.sh b/test.sh new file mode 100755 index 0000000..2467d4e --- /dev/null +++ b/test.sh @@ -0,0 +1,6 @@ +#! /usr/bin/env nix-shell +#! nix-shell -i bash -p bash +sudo \ + nixos-rebuild test \ + --option eval-cache false \ + --flake /workspace/deployed-nixos-server-and-apps#linode-nixos