diff --git a/scripts/emergency-lapetus.sh b/scripts/emergency-lapetus.sh index bfa2caa..aeeb3ca 100755 --- a/scripts/emergency-lapetus.sh +++ b/scripts/emergency-lapetus.sh @@ -1,3 +1,8 @@ +#!/usr/bin/env nix-shell +#!nix-shell ./devshells/bootstrap/shell.nix +#!nix shell disko +#!nix-shell -i bash + # Check if at least one argument is provided if [ "$#" -eq 0 ]; then echo "Usage: $0 [action]" @@ -16,10 +21,6 @@ if [ "$#" != "1" ] && [ "$2" != "install" ] && [ "$2" != "enter" ]; then exit 1 fi -echo "Entering shells..." -exec nix-shell ./devshells/bootstrap/shell.nix -exec nix shell disko - echo "Mounting keys" sudo mkdir /hermes sudo mount /dev/disk/by-uuid/7FE7-CA68 /hermes