Alex's Slip-box

These are my org-mode notes in sort of Zettelkasten style

New computer setup

:ID: 944F1F58-4EC8-444C-B7CA-787ABC19025B

A got a new laptop, a System 76 Gazelle with pop_os. This was the first I time used my dotfiles to setup a Linux box. Previously, I always used MacOS. I want to keep track of the setup procedure, so next time I wont have to figure some of this shit out and maybe automate some of it too.

# Setup Git

I need my dotfiles so first thing is to get git configured.

# Generate SSH key pair

  • Generate the private/pub key pair
  • Start ssh-agent
  • Add the private key (ie, not the one with .pub) to ssh-agent

    ssh-keygen -t ed25519 -C "Some Comment"
    eval "$(ssh-agent -s)"
    ssh-add ~/.ssh/myprivatekey

# Add SSH Pub key to GitHub account

# Create symlinks for git dotfiles

With the SSH key stuff out of the way, I cloned the dotfiles repo. After cloning the dotfiles repo create symlinks for:

  • .gitconfig
  • .gitignore_global
ln -s ~/dotfiles/git/gitconfig ~/.gitconfig
ln -s ~/dotfiles/git/gitignore_global ~/.gitignore_global

# Install ZSH

sudo apt-get-update
sudo apt-get install zsh
chsh -s $(which zsh)
sudo reboot

# Install ohmyzsh

# Create symlink for dotzsh file

# Install fzf

# Install npm and yarn

# Create symlink for dotvimrc file

# Install Emacs

Version 28 with native-comp Clone the Emacs repo: NOTE: At the time of writing this the native-comp branch had already been merged into Master.

# Dependencies I needed

Well, I think I need these…

  • gcc-10
  • libgccjit0
  • libgccjit-10-dev
  • autoconf
  • librsvg2-dev
  • libpng-dev
  • libjpeg-dev
  • imagemagick
  • sqlite3
  • pandoc
  • libcairo2-dev

# Config and install

This is how I configured and installed it.

./configure --with-modules --with-cairo --with-imagemagick --with-rsvg --with-mailutils --with-native-compilation
make -j 2
make install

See also