summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
l---------boot1
-rwxr-xr-xswitch2
l---------test1
3 files changed, 3 insertions, 1 deletions
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