From 4547e75868cba2a265b78661ddc386b5e81c1bb0 Mon Sep 17 00:00:00 2001 From: gramanas Date: Mon, 7 Oct 2024 11:47:06 +0300 Subject: init --- home-manager/programs/git.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 home-manager/programs/git.nix (limited to 'home-manager/programs/git.nix') 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; + # }; + }; +} -- cgit v1.2.3