X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=distro-end;h=84566b89fa4299468c147d69bd2e60ee97911166;hb=28904b44d0dd6ce9d43ab720b5efe9af2ce336de;hp=15ae5c2acd17085444d8892c4550e963b0bb990b;hpb=5f97e1c4a592a6384a7a3d86f8ed337beb7e108f;p=distro-setup diff --git a/distro-end b/distro-end index 15ae5c2..84566b8 100755 --- a/distro-end +++ b/distro-end @@ -15,7 +15,8 @@ ### setup source /a/bin/errhandle/err -src="${BASH_SOURCE%/*}" +src="$(readlink -f -- "$BASH_SOURCE")"; src=${src%/*} # directory of this file + source $src/pkgs set -x @@ -48,12 +49,12 @@ if isdeb; then fi # avoid ptompts! -debconf-set-selections </dev/null <$t <$t <$t </dev/null <$t <$t </dev/null; then + cd $(mktemp -d) + wget https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh + # added some stuff to envonment.sh for profile based on + # manual instructions + # wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - | gpg --import - + # echo is to get past prompt + yes | sudo -E HOME=$HOME bash guix-install.sh || [[ $? == 141 ]] + guix install glibc-utf8-locales + guix package --install guile +fi + +# install rust. +curl https://sh.rustup.rs -sSf | bash -s -- -y +# todo: update this. updates in rust are stupidly complicate +if ! which rg &>/dev/null; then + cargo install ripgrep +fi + #### tor case $distro in # based on @@ -1746,16 +1810,12 @@ make sure to reload the firewall to load the persistent configuration EOF pi nfs-utils - sgo nfs-server ;; debian|trisquel|ubuntu) - pi nfs-server + pi-nostart nfs-server ;; arch) pi nfs-utils || pending_reboot=true - sgo rpcbind - # this failed until I rebooted - sgo nfs-server ;; esac