A reminder of how to set up my dotfiles on a new machine.
sudo pacman -S zshsudo dnf install zshsudo apt install zshsh <(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-daemonpersonal choice, especially inside a container
. $HOME/.nix-profile/etc/profile.d/nix.shNote: nix-command and flakes are automatically enabled with chezmoi apply.
nix --extra-experimental-features nix-command --extra-experimental-features flakes profile install nixpkgs#chezmoi# github handle after --apply
chezmoi init --apply vimkimI 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 .zshrcThis might take some time and disk spaces.
my-nix-install.shcd $HOME/.config
git clone https://github.com/vimkim/nvimsudo dnf install xauth
sudo apt install xauth
sudo pacman -S xorg-xauth# /etc/ssh/sshd_config
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes