From e7c38fc0e3f1d444468fa817c5a61b40575c7138 Mon Sep 17 00:00:00 2001 From: Kj Tsanaktsidis Date: Fri, 12 Sep 2025 19:35:47 +1000 Subject: git config --- kj-laptop01/home.nix | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/kj-laptop01/home.nix b/kj-laptop01/home.nix index 78a6667..4d50f0a 100644 --- a/kj-laptop01/home.nix +++ b/kj-laptop01/home.nix @@ -13,9 +13,9 @@ # Install packages home.packages = with pkgs; [ htop - git zellij - tmu + tmux + git-absorb ]; # Configure sops for home-manager @@ -38,6 +38,20 @@ defaultEditor = true; }; + # Git configuration + programs.git = { + enable = true; + userName = "KJ Tsanaktsidis"; + userEmail = "kj@kjtsanaktsidis.id.au"; + signing = { + key = "7F21FB211E24B02A5DEF86E227CD40EB9B81C726"; + signByDefault = true; + }; + extraConfig = { + pull.rebase = true; + }; + }; + # SSH public key (private key is managed by sops) home.file.".ssh/id_ed25519.pub" = { text = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMtGcEXu5S/0zsF6Suxc65DmGFGt1JWRnqadoVhErOed kjtsanaktsidis@KJMacbookGroq.local"; -- cgit v1.2.3