Skip to content
LakshmanshankarPublic

About

My dotfiles repo, maintained using nix and stow

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

My personal dotfiles for Ubuntu 22.04, managed using GNU Stow and Nix.

Setup

1. Install prerequisites

Install Git, GNU Stow, curl, and Zsh:

sudo apt update
sudo apt install -y git stow curl zsh

2. Clone the repository

git clone https://github.com/lakshmanshankar/dotfiles.git
cd dotfiles

3. Set Zsh as the default shell

chsh -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"

4. Install Nix

sh <(curl -L https://nixos.org/nix/install) --daemon

Restart your terminal or load the appropriate shell configuration after installation.

5. Install packages

nix profile install .#default

6. Apply dotfiles

stow home

Nix package management

List installed packages:

nix profile list

Remove 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 .#default

Tmux and TPM

This configuration uses Tmux Plugin Manager (TPM) to manage Tmux plugins.

Installation

Clone TPM into the expected directory:

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

Usage

Start a Tmux session:

tmux new

Inside Tmux, install the configured plugins using prefix + I (capital i), usually Ctrl-b followed by Shift-i.

About

My dotfiles repo, maintained using nix and stow

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages