summaryrefslogtreecommitdiff
path: root/switch
diff options
context:
space:
mode:
Diffstat (limited to 'switch')
-rwxr-xr-xswitch2
1 files changed, 1 insertions, 1 deletions
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 .