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