nixos/home/programs/git/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
351 B
Nix
Raw Normal View History

2024-10-07 20:21:50 +00:00
{ pkgs, ... }:
{
programs.git = {
enable = true;
userName = "Torjus Håkestad";
userEmail = "torjus@usit.uio.no";
lfs.enable = true;
signing = {
key = "~/.ssh/id_ed25519.pub";
signByDefault = true;
};
2024-10-07 20:45:41 +00:00
includes = [
{
contents = {
gpg.format = "ssh";
};
}
];
2024-10-07 20:21:50 +00:00
};
}