nixos-config/home/base.nix

53 lines
780 B
Nix
Raw Normal View History

{ pkgs, lib, ... }:
{
imports = [
./neovim.nix
./zsh.nix
];
2024-08-28 19:49:54 +02:00
home = {
packages = with pkgs; [
bat
2024-08-28 19:49:54 +02:00
bottom
2024-10-05 00:52:57 +02:00
# ncdu
2024-08-28 19:49:54 +02:00
neofetch
sshfs
sshuttle
2024-08-28 19:49:54 +02:00
];
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"
];
};
}