niksos/hosts/work/git.nix
2024-08-28 22:21:15 +02:00

21 lines
599 B
Nix

{
inputs,
...
}: {
poz.programs.git = {
enable = true;
inherit (inputs.work-secrets.git) userName userEmail signingKey;
includes = [
{
condition = "hasconfig:remote.*.url:jacekpoz:*/**";
contents = {
user = {
email = "jacekpoz@proton.me";
name = "work";
signingKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDmeOJA8S8P+Q8wgF57v8ygpVkj4qBp6iuclNGxeFv75";
};
};
}
];
};
}