aboutsummaryrefslogtreecommitdiffstats
path: root/home-manager/programs/git.nix
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2024-10-07 11:47:06 +0300
committergramanas <anastasis.gramm2@gmail.com>2024-10-07 11:47:06 +0300
commit4547e75868cba2a265b78661ddc386b5e81c1bb0 (patch)
tree71924feb573c8af5030080fc007eee7bfbaabb20 /home-manager/programs/git.nix
downloadnix-master.tar.gz
nix-master.tar.bz2
nix-master.zip
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;
+ # };
+ };
+}