-
Install home-manager
-
Create initial generation
home-manager switch --flake ./#allancalix
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.
A quick highlight of the some of the features home-manager
supports:
home.packages = with pkgs; [
ripgrep
fd
eza
gh
]
programs.neovim = {
...
plugins = with pkgs.vimPlugins; [
vim-surround
tabular
vim-commentary
hop-nvim
}
home.sessionVariables = {
EDITOR = "nvim";
GIT_EDITOR = "nvim -u ~/.config/nvim/minimal.vim";
PAGER = "less -RFX";
}