fixes cli tools config

This commit is contained in:
Dennis Schoepf 2026-03-04 19:45:03 +01:00
parent 65a428b116
commit c69697bbd3
2 changed files with 63 additions and 28 deletions

View file

@ -4,7 +4,7 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
git
git
];
home-manager.sharedModules = [
@ -16,7 +16,7 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
git
git
];
home-manager.sharedModules = [
@ -24,35 +24,35 @@
];
};
flake.modules.homeManager.git =
flake.modules.homeManager.git =
{ pkgs, config, ... }:
{
programs.git = {
enable = true;
settings = {
init = {
defaultBranch = "main";
};
programs.git = {
enable = true;
settings = {
init = {
defaultBranch = "main";
};
core = {
ignorecase = "false";
};
core = {
ignorecase = "false";
};
pull = {
rebase = false;
};
pull = {
rebase = false;
};
push = {
autoSetupRemote = true;
};
push = {
autoSetupRemote = true;
};
user = {
# TODO get from config
name = "Dennis Schoepf";
email = "me@dnsc.io";
};
};
ignores = [ ".DS_Store" ];
};
user = {
# TODO get from config
name = "Dennis Schoepf";
email = "me@dnsc.io";
};
};
ignores = [ ".DS_Store" ];
};
};
}