oh my god this is so fucking stupid

I moved from `includes` to `extraConfig` and didn't remove the
`contents` that explains EVERYTHING

it doesn't explain why I'm this retarded though

followed this btw https://code.mendhak.com/keepassxc-sign-git-commit-with-ssh/

big shoutout to mendhak :-)
This commit is contained in:
jacekpoz 2024-03-03 09:40:34 +01:00
parent e3ec0b955b
commit e6461cfd9b
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -38,26 +38,24 @@ in {
programs.git = {
inherit (cfg) enable userName userEmail;
extraConfig = {
contents = {
core = {
editor = cfg.editor;
pager = "${pkgs.delta}/bin/delta";
};
init.defaultBranch = cfg.defaultBranch;
push.autoSetupRemote = true;
commit = {
verbose = true;
gpgSign = true;
};
gpg.format = "ssh";
user.signingKey = "key::ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHXD1EM4mQz99vJhmZX1r7kwMd8yewogOuoTUuv1xWZB";
merge.conflictstyle = "zdiff3";
interactive.diffFilter = "${pkgs.delta}/bin/delta --color-only";
diff.algorithm = "histogram";
transfer.fsckobjects = true;
fetch.fsckobjects = true;
receive.fsckobjects = true;
core = {
editor = cfg.editor;
pager = "${pkgs.delta}/bin/delta";
};
init.defaultBranch = cfg.defaultBranch;
push.autoSetupRemote = true;
commit = {
verbose = true;
gpgsign = true;
};
gpg.format = "ssh";
user.signingkey = "key::ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHXD1EM4mQz99vJhmZX1r7kwMd8yewogOuoTUuv1xWZB";
merge.conflictstyle = "zdiff3";
interactive.diffFilter = "${pkgs.delta}/bin/delta --color-only";
diff.algorithm = "histogram";
transfer.fsckobjects = true;
fetch.fsckobjects = true;
receive.fsckobjects = true;
};
};
};