Add script

pull/1/head
earnest ma 2021-11-22 13:36:24 -05:00
parent 92cf278bb3
commit 41a682e862
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
1 changed files with 41 additions and 0 deletions

41
bootstrap.sh Executable file
View File

@ -0,0 +1,41 @@
#!/usr/bin/env bash
# A rough approximation of what I did to set my system up, only the basics
# that apply to any Fedora/ spin.
# If a command starts to fail, pick up manually where it left off I guess?
# DO BEFORE RUNNING:
# RUN sudo dnf install -y seahorse kleopatra
# - Import gpg and ssh keys
# TODO Check for fedora
# Permissive SELinux
sudo sed -i "s/SELINUX=enforcing/SELINUX=permissive" /etc/selinux/config
sudo setenforce 0 # config file applies upon reboots
sudo dnf upgrade --refresh -y
# Dev
sudo dnf groupinstall -y "Development Tools"
# must install manually: ghq codium
sudo dnf install -y direnv stow
sudo dnf install -y git-email git-publish
sudo dnf install -y neovim
# Shell
sudo dnf install -y zsh
git clone git@git.sr.ht:~earnestma/dotfiles ~/.dotfiles # Update to ssh
chsh -s $(which zsh)
(cd ~/.dotfiles && stow */ -v)
# Mail
sudo dnf install -y aerc isync
sudo dnf install -y seahorse kleopatra # secrets: should be done already
# Fonts
sudo dnf install -y jetbrains-mono-fonts-all fira-code-fonts
echo "All done! Restart now"