aboutsummaryrefslogtreecommitdiffstats
path: root/home-manager/programs/git.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/programs/git.nix')
-rw-r--r--home-manager/programs/git.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/home-manager/programs/git.nix b/home-manager/programs/git.nix
new file mode 100644
index 0000000..f48766f
--- /dev/null
+++ b/home-manager/programs/git.nix
@@ -0,0 +1,15 @@
+{pkgs, ...}: {
+ programs.git = {
+ enable = true;
+ userName = "grm";
+ userEmail = "anastasis.gramm2@gmail.com";
+ # extraConfig = {
+ # user.signingkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAikGltB46LIhsjvVIa2X8iP2do5CnpVXJojvfGiYsmW";
+ # gpg = {
+ # format = "ssh";
+ # "ssh".program = "${pkgs._1password-gui}/bin/op-ssh-sign";
+ # };
+ # commit.gpgsign = true;
+ # };
+ };
+}