nixos/home/programs/git/default.nix
Torjus Håkestad 9942a085c8
All checks were successful
Run nix flake check / flake-check (push) Successful in 1m35s
Set gpg format to ssh for git conf
2024-10-07 22:45:41 +02:00

24 lines
351 B
Nix

{ 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;
};
includes = [
{
contents = {
gpg.format = "ssh";
};
}
];
};
}