Dungeons, dragons, dotfiles and dives
A bunch of simple scripts and dotfiles I use. Should eventually be able to recreate my preferred linux environment really quicly.
- Run a new-ish fedora workstation
sudo dnf_install.sh
- Run
./link.sh
from the repository root - Install rust stuff (in order)
- Install Rustup
- Run
./cargo_install.sh
- Install
python
andnode
withmise
(mise use --global xxxx
) - Install
nvim
withbob use stable
- Install the following (not found in dnf by default)
-
- Compile by hand to avoid a bug on the lock screen
- Deps:
sudo dnf install meson ninja wayland-devel wayland-protocols-devel libxkbcommon-devel cairo-devel gdk-pixbuf2-devel pam-devel scdoc libomp bash-completion-devel
-
obsidian - link
- Make it executable with
chmod +x
- Move it to
/usr/local/bin/obsidian
- Get the icon and put it in
~/Pictures/obsidian-icon.png
- Make it executable with
-
- Check git email with
git config user.email
- Edit crontab to run
bin/cron_battery.sh
(for laptops) - Handle ssh keys (See instructions)
- Setup Tmux
- Install tpm
- Open fish (should open tmux as well)
tmux source ~/.config/tmux/tmux.conf
- Install tpm packages with prefix+I
- Misc one time conf
- Enable dark mode with
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
- Passwordless sudo:
sudo visudo
(give %wheel NOPASSWD)sudo usermod -a -G wheel <username>
- Enable dark mode with
dotfiles/*
is linked to$HOME/*
home_config/*
->$HOME/.config/*
bin
->$HOME/bin
Requirements:
- Python3
- pip-package pexpect
- gpg
- Generate an ssh key with a passphrase
- Generate a gpg key with
gpg --generate-key
- Put
<path to ssh key> <ssh key passphrase>
in a file - Encrypt previous file with
gpg --output ~/.ssh/key_password_vault.asc --encrypt --recipient <email> <path of file from previous step>
- Remove
~/.sshagentenv
if it exists reload
- Remove the file you temporarily had your password in written in plain text