2
2
mirror of https://git.feal.no/felixalb/nixos-config.git synced 2024-12-22 12:07:29 +01:00
nixos-config/home/base.nix

57 lines
847 B
Nix

{ pkgs, lib, ... }:
{
imports = [
./neovim.nix
./zsh.nix
];
home = {
packages = with pkgs; [
bat
bottom
# ncdu
neofetch
pwgen
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";
};
safe = {
directory = "/config";
};
};
ignores = [
"*~"
"*.swp"
".DS_Store"
".vscode"
];
};
}