Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Personal dotfiles managed with GNU Stow and Home Manager.

Structure

dotfiles/
  bash/       → ~/.bash_profile, ~/.aliases.sh, ~/.shell_colors.sh, ~/.bash-git-prompt/
  tmux/       → ~/.tmux.conf
  vim/        → ~/.vimrc
  nvim/       → ~/.config/nvim/   (kickstart-based Neovim config)
  nix/        → ~/.config/nix/nix.conf
  home-manager/
    flake.nix
    home.nix   ← packages managed here

Bootstrap (new machine)

  1. Install Nix — use the Determinate Systems installer:

    curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
  2. Clone and run

    git clone git@github.com:cmotl/dotfiles.git ~/dotfiles
    ~/dotfiles/bootstrap.sh

After bootstrap, home-manager is on your PATH for future updates:

home-manager switch --flake ~/dotfiles/home-manager#"$(whoami)" --impure

Adding packages

Edit home-manager/home.nix, then:

home-manager switch --flake ~/dotfiles/home-manager#"$(whoami)" --impure

Adding a new dotfile

  1. Create a package dir mirroring the target path, e.g. git/.gitconfig
  2. Run stow --target="$HOME" git

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages