From ca122b8d50619db549eed976adb499aa8a21828e Mon Sep 17 00:00:00 2001 From: Bill Ewanick Date: Sun, 4 Jan 2026 01:07:50 -0500 Subject: [PATCH] Update running/testing for deployment scripts --- run.sh | 8 ++++---- test.sh | 6 ++++++ 2 files changed, 10 insertions(+), 4 deletions(-) create mode 100755 test.sh 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