From cdd417f391ec2d722441d54a54b326acb5faab5d Mon Sep 17 00:00:00 2001 From: Ray Andrew Date: Wed, 20 Nov 2024 00:42:53 -0600 Subject: [PATCH] update --- src/home/shell/git.nix | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/src/home/shell/git.nix b/src/home/shell/git.nix index 92abac1..0461ef1 100644 --- a/src/home/shell/git.nix +++ b/src/home/shell/git.nix @@ -4,7 +4,7 @@ config, ... }: -let +let home = config.home.homeDirectory; in { @@ -15,7 +15,22 @@ in }; userEmail = "rs@rs.ht"; userName = "Ray Andrew"; - signing.key = "${home}/.ssh/id_ed25519.pub"; + signing = { + key = "${home}/.ssh/id_ed25519.pub"; + signByDefault = true; + gpgPath = ""; + }; + ignores = [ + ".DS_Store" + "*~" + "*.swp" + ]; + extraConfig = { + gpg.format = "ssh"; + core.editor = "nvim"; + credential.helper = "store --file ${home}/.git-credentials"; + pull.rebase = true; + }; }; programs.gh = {