My personal dotfiles for Ubuntu 22.04, managed using GNU Stow and Nix.
Install Git, GNU Stow, curl, and Zsh:
sudo apt update
sudo apt install -y git stow curl zshgit clone https://github.com/lakshmanshankar/dotfiles.git
cd dotfileschsh -s "$(which zsh)"Log out and log back in for the change to take effect.
3.1 Install Oh My Zsh
Install Oh My Zsh using its official installer:
RUNZSH=no CHSH=no sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Verify the default shell:
echo "$SHELL"sh <(curl -L https://nixos.org/nix/install) --daemonRestart your terminal or load the appropriate shell configuration after installation.
nix profile install .#defaultstow homeList installed packages:
nix profile listRemove a package using its installed profile element name:
nix profile remove <name>Install or update the default package set from this repository:
nix profile install .#defaultThis configuration uses Tmux Plugin Manager (TPM) to manage Tmux plugins.
Clone TPM into the expected directory:
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpmStart a Tmux session:
tmux newInside Tmux, install the configured plugins using prefix + I (capital i), usually Ctrl-b followed by Shift-i.