From 42944bce8298bd117d17f36692c239d018288088 Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Thu, 22 Jun 2023 06:45:11 -0400 Subject: [PATCH] git changes --- homeConfig/modules/git/config/git.nix | 3 ++- homeConfig/modules/git/default.nix | 8 +++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/homeConfig/modules/git/config/git.nix b/homeConfig/modules/git/config/git.nix index 84dcde3..4f6189b 100644 --- a/homeConfig/modules/git/config/git.nix +++ b/homeConfig/modules/git/config/git.nix @@ -9,6 +9,7 @@ }; ignores = [ - "node_modules" + "*.node_modules" + "*.direnv" ]; } diff --git a/homeConfig/modules/git/default.nix b/homeConfig/modules/git/default.nix index a3d64c3..e4ae735 100644 --- a/homeConfig/modules/git/default.nix +++ b/homeConfig/modules/git/default.nix @@ -1,4 +1,4 @@ -{ lib, config, ... }: +{ lib, pkgs, config, ... }: with lib; let cfg = config.modules.git; @@ -8,12 +8,14 @@ in config = mkIf cfg.enable { programs = { git = import ./config/git.nix; - gh = { enable = true; settings.git_protocol = "ssh"; }; - }; + + home.packages = with pkgs; [ + git-crypt + ]; }; }