hell n back

This commit is contained in:
Jet Pham 2024-03-22 23:35:56 -07:00
parent 3ee6761b45
commit cac7203033
45 changed files with 2988 additions and 177 deletions

21
modules/git/default.nix Normal file
View file

@ -0,0 +1,21 @@
{ pkgs, lib, config, ... }:
with lib;
let cfg = config.modules.git;
in {
options.modules.git = { enable = mkEnableOption "git"; };
config = mkIf cfg.enable {
programs.git = {
enable = true;
userName = "notusknot";
userEmail = "notusknot@gmail.com";
extraConfig = {
init = { defaultBranch = "main"; };
core = {
excludesfile = "$NIXOS_CONFIG_DIR/scripts/gitignore";
};
};
};
};
}