From 8481b78beb6d9125c3c012cc060a5264e5c7a065 Mon Sep 17 00:00:00 2001 From: Elias Almqvist Date: Thu, 25 Jul 2024 15:53:28 -0700 Subject: [PATCH] nix: git gnupg --- nix-darwin/home.nix | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/nix-darwin/home.nix b/nix-darwin/home.nix index e8c1333..66c3a7e 100644 --- a/nix-darwin/home.nix +++ b/nix-darwin/home.nix @@ -70,7 +70,6 @@ wget ffmpeg gnupg - git jq tmux htop @@ -114,11 +113,29 @@ # Let Home Manager install and manage itself. programs.home-manager.enable = true; + programs.git = { + package = pkgs.gitFull; + enable = true; + userName = "Elias Almqvist"; + userEmail = "elalmqvist@gmail.com"; + lfs.enable = true; + ignores = [ + ".dir-locals.el" + ".envrc" + ".DS_Store" + ]; + signing.signByDefault = true; + signing.key = "E31A99CE3E75A158"; + extraConfig = { + commit.gpgsign = true; + }; + }; + programs.zsh = { enable = true; oh-my-zsh = { enable = true; - theme = "lambda"; + theme = "half-life"; plugins = [ "git" "macos" ]; }; };