Skip to content

allancalix/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Contains configuration for my development machines that uses home-manager to manage installing applications and setting up configuration for those applications. Some applications that are setup using home manager in this repository include:

Initial setup

  1. Install home-manager
  2. Perform initial install and configure the system
    ./update.sh

Updating the system configuration

To update the system configuration just modify files under ./nix and create a new generation with:

./update.sh

How-to

Install programs for development

home.packages = with pkgs; [
  ripgrep
  fd
  eza
  gh
]

Install Vim plugins

programs.neovim = {
  ...
  plugins = with pkgs.vimPlugins; [
    vim-surround
    tabular
    vim-commentary
    hop-nvim
}

Define shell environment variables

home.sessionVariables = {
  EDITOR = "nvim";
  GIT_EDITOR = "nvim -u ~/.config/nvim/minimal.vim";
  PAGER = "less -RFX";
}

Mac OS

Mac system configuration is not managed by home-manager. The configuration is stored in the script/macos file and executed with the ./script/bootstrap script.

References

People sharing how they setup and configure their systems has been incredibly inspirational. Below are some references to other setups that informed some choices made here.

About

Dotfiles for *NIX environments

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published