nixos-config/home/base.nix

53 lines
778 B
Nix

{ pkgs, lib, ... }:
{
imports = [
./neovim.nix
./zsh.nix
];
home = {
packages = with pkgs; [
bat
bottom
ncdu
neofetch
sshfs
sshuttle
];
sessionVariables = {
EDITOR = "nvim";
VISUAL = "nvim";
};
};
programs.nix-index = {
enable = true;
enableZshIntegration = true;
};
programs.git = {
enable = true;
extraConfig = {
pull.rebase = true;
push.autoSetupRemote = true;
color.ui = "auto";
init.defaultBranch = "main";
lfs.enable = true;
user = {
name = "Felix Albrigtsen";
email = lib.mkDefault "felix@albrigtsen.it";
};
};
ignores = [
"*~"
"*.swp"
".DS_Store"
".vscode"
];
};
}