From 9ac94ce13cafeed70d0e877101289ac07afbb445 Mon Sep 17 00:00:00 2001 From: Simon Parri Date: Wed, 14 May 2025 11:07:36 -0500 Subject: Add equivalents to the switch command for nixos-rebuild {boot,test} --- boot | 1 + switch | 2 +- test | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) create mode 120000 boot create mode 120000 test diff --git a/boot b/boot new file mode 120000 index 0000000..b2c71e7 --- /dev/null +++ b/boot @@ -0,0 +1 @@ +switch \ No newline at end of file diff --git a/switch b/switch index 6f232e1..b115a21 100755 --- a/switch +++ b/switch @@ -4,4 +4,4 @@ set -e cd "$(dirname "$0")" git pull -nixos-rebuild switch --flake . +nixos-rebuild "$(basename "$0")" --flake . diff --git a/test b/test new file mode 120000 index 0000000..b2c71e7 --- /dev/null +++ b/test @@ -0,0 +1 @@ +switch \ No newline at end of file -- cgit v1.2.3