dotfiles-guix/installer/guix-setup

44 lines
1.5 KiB
Text
Raw Normal View History

2023-10-07 19:42:29 +00:00
#!/run/current-system/profile/bin/bash
2023-10-07 19:38:22 +00:00
2023-10-07 20:59:12 +00:00
echo "#!/run/current-system/profile/bin/bash" > ./guix-env
echo "" > ./guix-env
2023-10-07 19:38:22 +00:00
welcome() {
cat<<"EOF"
░░░ ░░░
░░▒▒░░░░░░░░░ ░░░░░░░░░▒▒░░
░░▒▒▒▒▒░░░░░░░ ░░░░░░░▒▒▒▒▒░
░▒▒▒░░▒▒▒▒▒ ░░░░░░░▒▒░
░▒▒▒▒░ ░░░░░░
▒▒▒▒▒ ░░░░░░
▒▒▒▒▒ ░░░░░
░▒▒▒▒▒ ░░░░░
▒▒▒▒▒ ░░░░░
▒▒▒▒▒ ░░░░░
░▒▒▒▒▒░░░░░
▒▒▒▒▒▒░░░
▒▒▒▒▒▒░
____ _ _ _____ __ ____ _
/ ___| | | |_ _\ \/ / / ___|| |_ _ __ __ _ _ __
| | _| | | || | \ / \___ \| __| '__/ _` | '_ \
| |_| | |_| || | / \ ___) | |_| | | (_| | |_) |
\____|\___/|___/_/\_\ |____/ \__|_| \__,_| .__/
|_|
This script installs GNU Guix on your system
https://www.gnu.org/software/guix/
EOF
echo -n "Press return to continue..."
read -r ANSWER
}
welcome
./guix-partition
2023-10-07 19:39:02 +00:00
./guix-crypt
2023-10-07 20:59:12 +00:00
./guix-configure
./guix-install
./guix-password
echo "GNU Guix has been installed, you can now reboot..."
exit 0