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 + ]; }; }