diff --git a/nixos-rebuild-switch.sh b/pull-and-switch.sh similarity index 82% rename from nixos-rebuild-switch.sh rename to pull-and-switch.sh index 16212bd..b97ae13 100755 --- a/nixos-rebuild-switch.sh +++ b/pull-and-switch.sh @@ -1,2 +1,3 @@ #!/bin/sh +git pull exec sudo nixos-rebuild switch