mirror of
https://git.feal.no/felixalb/nixos-config.git
synced 2024-12-22 12:07:29 +01:00
54 lines
792 B
Nix
54 lines
792 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";
|
|
};
|
|
};
|
|
ignores = [
|
|
"*~"
|
|
"*.swp"
|
|
".DS_Store"
|
|
".vscode"
|
|
];
|
|
};
|
|
|
|
}
|