From 1ca3b9ff89c3e03323a26e427efa73c20aed1698 Mon Sep 17 00:00:00 2001 From: William P Date: Mon, 2 Mar 2026 19:56:11 -0500 Subject: [PATCH] add scripts --- scripts/install.sh | 3 +++ scripts/rebuild-boot.sh | 3 +++ scripts/rebuild-switch.sh | 3 +++ 3 files changed, 9 insertions(+) create mode 100755 scripts/install.sh create mode 100644 scripts/rebuild-boot.sh create mode 100644 scripts/rebuild-switch.sh diff --git a/scripts/install.sh b/scripts/install.sh new file mode 100755 index 0000000..63dd555 --- /dev/null +++ b/scripts/install.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +nix run github:nix-community/nixos-anywhere -- --flake .#weyma-bs --extra-files ./secrets --target-host root@10.105.6.198 \ No newline at end of file diff --git a/scripts/rebuild-boot.sh b/scripts/rebuild-boot.sh new file mode 100644 index 0000000..726d58b --- /dev/null +++ b/scripts/rebuild-boot.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +nixos-rebuild --flake .#weyma-bs --target-host 10.105.6.198 --sudo boot \ No newline at end of file diff --git a/scripts/rebuild-switch.sh b/scripts/rebuild-switch.sh new file mode 100644 index 0000000..0a78f5b --- /dev/null +++ b/scripts/rebuild-switch.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +nixos-rebuild --flake .#weyma-bs --target-host 10.105.6.198 --sudo switch \ No newline at end of file