home: git: use 'mkAfter' for local config include
All checks were successful
ci/woodpecker/push/check Pipeline was successful

This should ensure that it will be included at the very end of the
configuration, allowing it to override any other options in the file.

Not sure that I _really_ need it, but it's tidier this way.
This commit is contained in:
Bruno BELANYI 2025-02-21 16:41:54 +00:00
parent 1237ef4174
commit 7df5426ecb

View file

@ -162,30 +162,34 @@ in
};
};
includes = [
includes = lib.mkMerge [
# Multiple identities
{
condition = "gitdir:~/git/EPITA/";
contents = {
user = {
name = "Bruno BELANYI";
email = mkMailAddress "bruno.belanyi" "epita.fr";
[
{
condition = "gitdir:~/git/EPITA/";
contents = {
user = {
name = "Bruno BELANYI";
email = mkMailAddress "bruno.belanyi" "epita.fr";
};
};
};
}
{
condition = "gitdir:~/git/work/";
contents = {
user = {
name = "Bruno BELANYI";
email = mkMailAddress "ambroisie" "google.com";
}
{
condition = "gitdir:~/git/work/";
contents = {
user = {
name = "Bruno BELANYI";
email = mkMailAddress "ambroisie" "google.com";
};
};
};
}
}
]
# Local configuration, not-versioned
{
path = "config.local";
}
(lib.mkAfter [
{
path = "config.local";
}
])
];
ignores =