Moved git config to own file.

This commit is contained in:
vorboyvo 2024-11-12 17:17:06 -05:00
parent cb34038c91
commit 47c5aee868
2 changed files with 23 additions and 9 deletions

View file

@ -12,6 +12,7 @@ in {
../../programs/zsh.nix
../../programs/taskwarrior.nix
../../programs/clifm.nix
../../programs/git.nix
];
home.username = "alice";
home.homeDirectory = "/home/alice";
@ -124,15 +125,15 @@ in {
programs.home-manager.enable = true;
programs.git = {
enable = true;
userName = "vorboyvo";
userEmail = "mrsirofvibe@outlook.com";
extraConfig = {
init.defaultBranch = "main";
core.editor = "kak";
};
};
# programs.git = {
# enable = true;
# userName = "vorboyvo";
# userEmail = "mrsirofvibe@outlook.com";
# extraConfig = {
# init.defaultBranch = "main";
# core.editor = "kak";
# };
# };
wayland.windowManager.sway = import ../../programs/sway.nix {
inherit scripts extra config lib pkgs terminal;

13
programs/git.nix Normal file
View file

@ -0,0 +1,13 @@
{...}: {
programs.git = {
enable = true;
userName = "vorboyvo";
userEmail = "mrsirofvibe@outlook.com";
extraConfig = {
init.defaultBranch = "main";
core.editor = "kak";
};
};
}