added git submodule

This commit is contained in:
Bryan Ramos 2026-03-09 17:36:32 -04:00
parent 8ecfea2ef5
commit 46d6f2825f
5 changed files with 15 additions and 44 deletions

View file

@ -10,48 +10,23 @@ in
programs = {
git = {
enable = true;
package = pkgs.gitSVN;
settings = {
init = { defaultBranch = "master"; };
#format = { pretty = "oneline"; };
#log = { abbrevCommit = true; };
mergetool = {
vimdiff = {
trustExitCode = true;
};
keepBackup = false;
};
merge = {
tool = "vimdiff";
};
safe = {
directory = [
"/etc/nixos"
"/boot"
];
};
};
ignores = [
"node_modules"
".direnv"
"dist-newstyle"
".nuxt/"
".output/"
"dist"
"result"
];
} // config.user.gitConfig;
};
gh = {
enable = true;
settings.git_protocol = "ssh";
};
};
home.packages = with pkgs; [
git-crypt
];
home = {
packages = with pkgs; [
git-crypt
];
file.".config/git" = {
source = ./config;
recursive = true;
};
};
programs.bash.initExtra = import ./config/bashScripts/cdg.nix;
programs.bash.initExtra = import ./scripts/cdg.nix;
};
}