switch from includes to extraConfig in git module

Xddddddddddd
This commit is contained in:
jacekpoz 2024-03-03 01:45:09 +01:00
parent 76cbdaaf2f
commit e2d5090e29
No known key found for this signature in database
GPG key ID: 94E812A8B12AAE3C

View file

@ -41,25 +41,23 @@ in {
key = cfg.signingKey;
signByDefault = true;
};
includes = [
{
contents = {
core = {
editor = cfg.editor;
pager = "${pkgs.delta}/bin/delta";
};
init.defaultBranch = cfg.defaultBranch;
push.autoSetupRemote = true;
commit.verbose = true;
merge.conflictstyle = "zdiff3";
interactive.diffFilter = "${pkgs.delta}/bin/delta --color-only";
diff.algorithm = "histogram";
transfer.fsckobjects = true;
fetch.fsckobjects = true;
receive.fsckobjects = true;
extraConfig = {
contents = {
core = {
editor = cfg.editor;
pager = "${pkgs.delta}/bin/delta";
};
}
];
init.defaultBranch = cfg.defaultBranch;
push.autoSetupRemote = true;
commit.verbose = true;
merge.conflictstyle = "zdiff3";
interactive.diffFilter = "${pkgs.delta}/bin/delta --color-only";
diff.algorithm = "histogram";
transfer.fsckobjects = true;
fetch.fsckobjects = true;
receive.fsckobjects = true;
};
};
};
};
};