Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 1.04 KB

README.md

File metadata and controls

61 lines (44 loc) · 1.04 KB

dotfiles

Setup

  1. Install home-manager

  2. Create initial generation

home-manager switch --flake ./#allancalix

Updates

Make changes to files in this repository and create a new home-manager generation with:

bb switch

Most programs are configured using home-manager configuration records but others have configuration files that are linked in the correct spots by home-manager.

The bulk of the configuration is defined in home.nix.

Tour

A quick highlight of the some of the features home-manager supports:

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";
}