1

Modules: Add git module

This commit is contained in:
2025-07-08 22:47:10 +02:00
parent 61715032be
commit 116a416a62
3 changed files with 142 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{
lib,
mylib,
...
}: {
enable = lib.mkEnableOption "Enable git";
userName = lib.mkOption {
type = lib.types.str;
description = "The user's name";
example = ''
"John Doe"
'';
};
userEmail = lib.mkOption {
type = lib.types.str;
description = "The user's email address";
example = ''
"john@doe.com"
'';
};
signCommits = lib.mkEnableOption "Enable commit signing";
}