Skip to content

vimkim/dotfiles

Repository files navigation

vimkim's dotfiles

A reminder of how to set up my dotfiles on a new machine.

Step 1: Install Zsh

Arch

sudo pacman -S zsh

RHEL (Fedora, Rocky, CentOS)

sudo dnf install zsh

Ubuntu

sudo apt install zsh

Step 2: Install Nix Package Manager

sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install)

nix recommended

or,

sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --no-daemon

personal choice, especially inside a container

. $HOME/.nix-profile/etc/profile.d/nix.sh

Note: nix-command and flakes are automatically enabled with chezmoi apply.

Step 3: Install chezmoi and apply dotfiles

nix --extra-experimental-features nix-command --extra-experimental-features flakes profile install nixpkgs#chezmoi
# github handle after --apply
chezmoi init --apply vimkim

Optional Step: Install oh-my-zsh

I now use nushell instead, by the way.

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
mv .zshrc.pre-oh-my-zsh .zshrc

Step 4: Other nix packages

This might take some time and disk spaces.

my-nix-install.sh

Step 5: Install nvim dotfiles

cd $HOME/.config
git clone https://github.com/vimkim/nvim

Step 6: X11 Forwarding

sudo dnf install xauth
sudo apt install xauth
sudo pacman -S xorg-xauth
# /etc/ssh/sshd_config
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published