Skip to content

seroperson/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

seroperson's dotfiles

Configuration which I use for my development purposes. Not so recently I migrated all the dotfiles management to nix and it's still WIP, but mostly should work ok.

Used software

Mostly I use well-known things:

  • zsh - powered by zgenom plugin manager, lightweight shell.
  • nvim - initially I used self-written config, but then switched to astronvim community distribution as long as managing well-prepared nvim configuration is a pretty hard task as for today.
  • tmux - terminal multiplexer, configuration managed by nix (see nix/tmux.nix file).

And also some set of handy tools, such as exa, jq, rg.

Installation

Initially, only nix and git must be installed. Be sure that nix is up-to-date:

nix-channel --add https://nixos.org/channels/nixpkgs-unstable
nix-channel --update

Clone the repository:

git clone https://github.com/seroperson/dotfiles $HOME/.dotfiles/

And then let the home-manager do the rest:

nix --extra-experimental-features "nix-command flakes" run home-manager/release-24.05 -- init --switch $HOME/.dotfiles/

Next, you should do chsh $USER -s $HOME/.nix-profile/bin/zsh and re-login.

Finally, be sure to install nerd-font and catpuccin mocha theme for your terminal.

Troubleshooting

Usually nix doesn't work as expected and you don't know what to do. It is good idea to start your troubleshooting with global cleanup:

nix-channel --update
nix-env -u --always
rm /nix/var/nix/gcroots/auto/*
rm -rf $HOME/.cache/nix
nix-collect-garbage -d

Nix Guides

nix is not easy thing to get started with, but luckily it has a lot of guides available across the web. Here are some of them: