-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
28 lines (20 loc) · 845 Bytes
/
setup.sh
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
#!/bin/bash
set -e
# ARCH -------------------------------------------------------------------------
# Install packages.
sudo pacman -S - <pkglist.txt
# CONDA ------------------------------------------------------------------------
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh"
bash "Mambaforge-$(uname)-$(uname -m).sh"
rm -rf "Mambaforge-$(uname)-$(uname -m).sh"
conda init fish
# TODO: Consider using Rye.
# curl -sSf https://rye.astral.sh/get | bash
# set -Ua fish_user_paths "$HOME/.rye/shims"
# OTHER ------------------------------------------------------------------------
# TODO: Setup rclone for Google Drive backups.
rclone bisync gdrive:MAIN /home/joshuapjacob/gdrive --resync
# Setup crontab.
systemctl enable --now cronie.service
cd dotfiles
crontab crontab