2024-01-13 14:10:41 +00:00
|
|
|
{osConfig, ...}: let
|
2024-01-13 13:51:19 +00:00
|
|
|
sign_key =
|
|
|
|
{
|
2024-03-31 14:12:36 +00:00
|
|
|
"aurum" = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIItSJTtS7tO0Wz/WgHAFb3xuNFZpm8SOvr/o8uR83zzy laurent@aurum";
|
2024-01-13 13:51:19 +00:00
|
|
|
"silicium" = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINTvwXCT99s1EwOCeGQ28jyCAH/RBoLZza9k5I7wWdEu laurent@silicium";
|
|
|
|
}
|
2024-01-13 14:10:41 +00:00
|
|
|
."${osConfig.networking.hostName}";
|
2024-01-13 13:51:19 +00:00
|
|
|
in {
|
2023-06-18 12:55:20 +00:00
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
|
|
|
lfs.enable = true;
|
2024-01-13 13:51:19 +00:00
|
|
|
|
2023-06-18 12:55:20 +00:00
|
|
|
userName = "Laureηt";
|
2024-01-13 13:51:19 +00:00
|
|
|
userEmail = "laurent.git@fainsin.bzh";
|
|
|
|
|
2023-06-18 12:55:20 +00:00
|
|
|
signing = {
|
|
|
|
signByDefault = true;
|
2024-01-13 13:51:19 +00:00
|
|
|
key = sign_key;
|
|
|
|
};
|
|
|
|
|
|
|
|
ignores = [
|
|
|
|
".cache"
|
|
|
|
".DS_Store"
|
|
|
|
".direnv"
|
|
|
|
".venv"
|
|
|
|
"node_modules"
|
|
|
|
"result"
|
|
|
|
"result-*"
|
|
|
|
];
|
|
|
|
|
|
|
|
extraConfig = {
|
|
|
|
merge.conflictstyle = "diff3";
|
2024-03-31 14:12:36 +00:00
|
|
|
gpg.format = "ssh";
|
2023-06-18 12:55:20 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|