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.

78 lines
1.8 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 = [
pkgs.htop
pkgs.fortune
];
# 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
alias ld="ls -lF --color=always | grep --color=never '^d' ";
# show files only
alias lf="ls -lF --color=always | grep --color=never -v '^d' ";
alias ll="ls -aGFhl --color=always ";
alias rs="rsync -a --info=progress2 ";
alias sudo="sudo ";
};
};
home.packages = with pkgs; [
alacritty
python3
];
home.sessionVariables = {
EDITOR = "nvim";
TERM = "alacritty";
TERMINAL = "alacritty";
};
services.gpg-agent = {
enable = true;
defaultCacheTtl = 1800;
enableSshSupport = true;
};
}