Moved git config to own file.
This commit is contained in:
parent
cb34038c91
commit
47c5aee868
|
|
@ -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
13
programs/git.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{...}: {
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "vorboyvo";
|
||||
userEmail = "mrsirofvibe@outlook.com";
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
core.editor = "kak";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Reference in a new issue