set pull as rebase
This commit is contained in:
parent
3397f7ea85
commit
6bb351f89b
|
@ -23,6 +23,7 @@ in {
|
|||
lfs = enabled;
|
||||
extraConfig = {
|
||||
init = {defaultBranch = "main";};
|
||||
pull = {rebase = true;};
|
||||
push = {autoSetupRemote = true;};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -24,9 +24,11 @@ in {
|
|||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
inherit(cfg) userName userEmail;
|
||||
lfs.enable = true;
|
||||
config = {
|
||||
init = {defaultBranch = "main";};
|
||||
pull = {rebase = true;};
|
||||
push = {autoSetupRemote = true;};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -65,7 +65,7 @@ in {
|
|||
"Music/.keep".text = "";
|
||||
"Pictures/.keep".text = "";
|
||||
"Videos/.keep".text = "";
|
||||
"work/.keep".text = "";
|
||||
"projects/.keep".text = "";
|
||||
".face".source = cfg.icon;
|
||||
"Pictures/${
|
||||
cfg.icon.fileName or (builtins.baseNameOf cfg.icon)
|
||||
|
|
Loading…
Reference in a new issue