nixos-config/home-manager/stvnliu/programs/git.nix
Zhongheng Liu 3685cf5abe
feat: update desktop apps configuration
LibreOffice: bump versiont to newest
Firefox: change to firefox-devedition
Programs: reorganise config into special programs dir
2024-09-22 21:48:35 +03:00

21 lines
496 B
Nix

{
pkgs,
config,
lib,
...
}: {
programs.git = {
enable = true;
package = pkgs.gitFull;
userName = config.myDisplayName;
userEmail = config.myEmail;
extraConfig = {
push.autoSetupRemote = true;
commit.gpgsign = true;
gpg.format = "ssh";
gpg.ssh.allowedSignersFile = "/home/${config.myUserName}/.ssh/allowed_signers";
user.signingkey = "/home/${config.myUserName}/.ssh/id_ed25519.pub";
credential.helper = "libsecret";
};
};
}