set pull as rebase

This commit is contained in:
Christoph Hollizeck 2024-03-27 14:34:33 +01:00
parent 3397f7ea85
commit 6bb351f89b
3 changed files with 4 additions and 1 deletions

View file

@ -23,6 +23,7 @@ in {
lfs = enabled;
extraConfig = {
init = {defaultBranch = "main";};
pull = {rebase = true;};
push = {autoSetupRemote = true;};
};
};

View file

@ -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;};
};
};

View file

@ -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)