niksos/hosts/work/git.nix

22 lines
595 B
Nix
Raw Normal View History

2024-08-28 22:21:15 +02:00
{
inputs,
...
}: {
poz.programs.git = {
enable = true;
inherit (inputs.work-secrets.git) userName userEmail signingKey;
includes = [
{
condition = "hasconfig:remote.*.url:jacekpoz:*/**";
contents = {
user = {
email = "work@jacek.poz";
2024-08-28 22:21:15 +02:00
name = "work";
signingKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDmeOJA8S8P+Q8wgF57v8ygpVkj4qBp6iuclNGxeFv75";
};
};
}
];
};
}