{ config, lib, pkgs, user, ...}:
{
home = {
username = "${user}";
homeDirectory = "/home/${user}";
packages = with pkgs; [
bat
firefox
htop
];
stateVersion = "22.05";
};
programs = {
fzf = {
enable = true;
enableZshIntegration = true;
tmux.enableShellIntegration = true;
git = {
userName = "Michael Mandl";
userEmail = "mandlm@molez.net";
extraConfig = {
core.editor = "nvim";
fetch.writeCommitGraph = true;
format.pretty = "format:%C(yellow)%h %Cblue%>(12)%ad %C(red)%G? %Cgreen%<(7,trunc)%aN%Cred%d %Creset%s";
init.defaultBranch = "main";
log.date = "relative";
pull.rebase = true;
rebase.autostash = true;
rerere.enabled = true;
worktree.guessRemote = true;
kitty = {
theme = "Solarized Dark";
font = {
name = "DejaVu Sans Mono";
size = 12;
tmux = {
newSession = true;
extraConfig = ''
set-option -g status off
'';
zsh = {
enableSyntaxHighlighting = true;
history.size = 10000;
oh-my-zsh = {
plugins = [ "git" "tmux" "vi-mode" ];
theme = "intheloop";
home-manager.enable = true;
}