git changes

This commit is contained in:
Bryan Ramos 2023-06-22 06:45:11 -04:00
parent df075b47bf
commit 42944bce82
2 changed files with 7 additions and 4 deletions

View file

@ -9,6 +9,7 @@
}; };
ignores = [ ignores = [
"node_modules" "*.node_modules"
"*.direnv"
]; ];
} }

View file

@ -1,4 +1,4 @@
{ lib, config, ... }: { lib, pkgs, config, ... }:
with lib; with lib;
let cfg = config.modules.git; let cfg = config.modules.git;
@ -8,12 +8,14 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs = { programs = {
git = import ./config/git.nix; git = import ./config/git.nix;
gh = { gh = {
enable = true; enable = true;
settings.git_protocol = "ssh"; settings.git_protocol = "ssh";
}; };
}; };
home.packages = with pkgs; [
git-crypt
];
}; };
} }