Skip to content

Latest commit

 

History

History
93 lines (79 loc) · 2.12 KB

setup.md

File metadata and controls

93 lines (79 loc) · 2.12 KB

Setup

A part of my personal setup. It contains packages specific to my workflow and hardware.

Dotfiles

Manually install chezmoi, then populate the chezmoi.toml. Then: $ chezmoi init --apply --verbose [email protected]:LesnyRumcajs/dotfiles.git or just install & init sh -c "$(curl -fsLS https://chezmoi.io/get)" -- init --apply LesnyRumcajs

Packages (Fedora)

sudo dnf copr enable atim/bottom -y
sudo dnf copr enable atim/starship -y
sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo

sudo dnf group install -y "C Development Tools and Libraries" "Development Tools"
sudo dnf install -y \
  alacritty \
  bat \
  bottom \
  clang-devel \
  cmake \
  containerd.io \
  docker-ce-cli \
  docker-compose-plugin \
  fd-find \
  fish \
  golang \
  htop \
  lsd \
  mc \
  neovim \
  nodejs \
  ocl-icd-devel \
  perl-FindBin \
  ripgrep \
  ruby \
  sd \
  starship \
  tealdeer \
  tmux \
  util-linux-user \
  wget \
  zoxide

Make fish the default shell

chsh -s /usr/bin/fish

Nvidia drivers (Fedora)

sudo dnf install -y akmod-nvidia xorg-x11-drv-nvidia-cuda

tmux

Plugins manager:

git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

fish

oh-my-fish: curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish Plugins:

  • git aliases: omf install https://github.com/jhillyerd/plugin-git
  • bang bang (i.e. sudo !!): omf install bang-bang

Fonts

Need to install nerd fonts from here.

Rust

install rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

cargo binaries

cargo install cargo-watch cargo-edit cargo-audit cargo-generate

wasm-pack

curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

Troubleshooting

Verify that that the setup supports all fancy colours (otherwise you might want to tinker with the tmux settings)

for i in {0..255}; do
    printf "\x1b[38;5;${i}mcolour${i}\x1b[0m\n"
done