nixify git config
This commit is contained in:
parent
061685b8ea
commit
ecb7747463
1 changed files with 23 additions and 6 deletions
29
default.nix
29
default.nix
|
@ -104,9 +104,26 @@
|
||||||
home.homeDirectory = "/home/sako";
|
home.homeDirectory = "/home/sako";
|
||||||
programs.bash.enable = true;
|
programs.bash.enable = true;
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
xdg.configFile.git = {
|
# xdg.configFile.git = {
|
||||||
source = ./config/git;
|
# source = ./config/git;
|
||||||
|
# };
|
||||||
|
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
userName = "Sakooooo";
|
||||||
|
userEmail = "78461130+Sakooooo@users.noreply.github.com";
|
||||||
|
includes = [
|
||||||
|
{
|
||||||
|
path = "~/.config/git/config.local";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
extraConfig = {
|
||||||
|
color.ui = "auto";
|
||||||
|
init.defaultBranch = "master";
|
||||||
|
pull.rebase = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
# bare minimum
|
# bare minimum
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
@ -135,10 +152,10 @@
|
||||||
# enableSSHSupport = true;
|
# enableSSHSupport = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.git = {
|
# programs.git = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
package = pkgs.gitFull;
|
# package = pkgs.gitFull;
|
||||||
};
|
# };
|
||||||
|
|
||||||
# read stable version patch notes and fix any issues
|
# read stable version patch notes and fix any issues
|
||||||
# then you can change this
|
# then you can change this
|
||||||
|
|
Loading…
Reference in a new issue