Add git pullRebase option

This commit is contained in:
get 2024-04-12 07:14:10 +02:00
commit 48bae1315e

View file

@ -31,6 +31,11 @@ in {
default = "master";
description = "default git branch";
};
pullRebase = mkOption {
type = types.bool;
default = false;
description = "git config pull.rebase {pullRebase}";
};
};
config = mkIf cfg.enable {
@ -56,6 +61,7 @@ in {
transfer.fsckobjects = true;
fetch.fsckobjects = true;
receive.fsckobjects = true;
pull.rebase = cfg.pullRebase;
};
};
};