summaryrefslogtreecommitdiff
path: root/installer/guix-setup
blob: 7fb027b3d0248879235005dcd4dc9dfaa9126f42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/run/current-system/profile/bin/bash

echo "#!/run/current-system/profile/bin/bash" > ./guix-env
echo "" > ./guix-env 

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
./guix-crypt
./guix-configure
./guix-install
./guix-password

echo "GNU Guix has been installed, you can now reboot..."
exit 0