Add git pullRebase option
This commit is contained in:
parent
669c1d3b3f
commit
8c9204ffa7
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue