This commit is contained in:
Bryan Ramos 2024-01-27 15:34:21 -05:00
parent a9bd04ae6e
commit 81e9c24fb7
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
4 changed files with 11 additions and 8 deletions

View file

@ -2,12 +2,13 @@
with lib;
let cfg = config.modules.git;
isBryan = config.user.name == "bryan";
in
{ options.modules.git = { enable = mkEnableOption "git"; };
config = mkIf cfg.enable {
programs = {
git = import ./config/git.nix;
git = if isBryan then import ./config/git.nix else { enable = true; };
gh = {
enable = true;
settings.git_protocol = "ssh";