nixfiles/generic/user/home.nix

31 lines
636 B
Nix

{ ... }:
{
# Git config
programs.git = {
enable = true;
userName = "Lyes Saadi";
userEmail = "dev@lyes.eu";
signing = {
key = "17418538BAA17767";
signByDefault = true;
};
extraConfig = {
code.editor = "nvim";
merge.tool = "nvim";
color.ui = true;
init.defaultBranch = "main";
includeIf = {
"gitdir:~/Documents/fedpkg/" = {
path = "~/Documents/fedpkg/.gitconfig_include";
};
};
};
};
# Protonup config
home.sessionVariables = {
STEAM_EXTRA_COMPAT_TOOLS_PATHS =
"\${HOME}/.steam/root/compatibilitytools.d";
};
}