You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
1.7 KiB

{ config, pkgs, ... }:
{
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "hblobner";
home.homeDirectory = "/home/hblobner";
# Packages that should be installed to the user profile.
home.packages = with pkgs; [
alacritty
fasd
fd
htop
fortune
python3
ripgrep
rsync
];
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "23.05";
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
# git
programs.git = {
enable = true;
userName = "hblobner";
userEmail = "hblobner@avm.de";
aliases = {
st = "status";
};
};
programs.neovim = {
enable = true;
vimAlias = true;
};
programs.zsh = {
enable = true;
defaultKeymap = "viins";
enableAutosuggestions = true;
enableCompletion = true;
shellAliases = {
# show dirs only
ld = "ls -lF --color=always | grep --color=never '^d' ";
# show files only
lf = "ls -lF --color=always | grep --color=never -v '^d' ";
ll = "ls -aGFhl --color=always ";
rs = "rsync -a --info=progress2 ";
sudo = "sudo ";
};
};
home.sessionVariables = {
EDITOR = "nvim";
TERM = "alacritty";
TERMINAL = "alacritty";
};
services.gpg-agent = {
enable = true;
defaultCacheTtl = 1800;
enableSshSupport = true;
};
}