#!/bin/sh
set -e
-debian_version="bookworm"
. ./misc.sh
expect_n_args 1 "(system name)" "$@"
get_system_name_arg "$1"
-git clone https://plomlompom.com/repos/clone/config
cd $setup_scripts_dir
./copy_dirtree.sh "${config_tree_prefix}/home_files" "${HOME}" minimal user "${system_name}"
fi
done
+# Remove redundant config repo copy.
+config_tree_prefix="${public_repos_dir}/config/${debian_version}"
+rm -rf ~/config
+
# # Set up native messenger for tridactyl.
# version='ef9f02d0da258f68d7faf8898707f6d83d90d07a'
# curl -fsSl "https://raw.githubusercontent.com/tridactyl/tridactyl/${version}/native/install.sh" | bash
fi
cd
-# rm -rf "${dir_secrets}"
-
maildir=~/mail/maildir
# # Set up e-mail system. Note that we only do mbsync if the imap pass file
# # is found. It may not be present on every secrets drive yet, so we have to