moved git to its own module
This commit is contained in:
parent
b40c908ffe
commit
38d653d2ff
4 changed files with 91 additions and 77 deletions
|
|
@ -91,6 +91,7 @@
|
||||||
./modules/home-manager/alacritty.nix
|
./modules/home-manager/alacritty.nix
|
||||||
./modules/home-manager/vscode.nix
|
./modules/home-manager/vscode.nix
|
||||||
./modules/home-manager/zsh.nix
|
./modules/home-manager/zsh.nix
|
||||||
|
./modules/home-manager/git.nix
|
||||||
]; #extra modules to be loaded by home-manager
|
]; #extra modules to be loaded by home-manager
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
13
modules/home-manager/git.nix
Normal file
13
modules/home-manager/git.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{ pkgs, config, lib, ...}:
|
||||||
|
{
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
userName = "specCon18";
|
||||||
|
userEmail = "steven.carpenter@skdevstudios.com";
|
||||||
|
extraConfig = {
|
||||||
|
init = {
|
||||||
|
defaultBranch = "main";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue