2024-05-25 00:37:37 +02:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
let
|
2024-05-27 22:23:32 +02:00
|
|
|
cfg = config.homeModules.shell.git;
|
2024-05-25 00:37:37 +02:00
|
|
|
in
|
|
|
|
{
|
2024-05-27 22:23:32 +02:00
|
|
|
options.homeModules.shell.git = {
|
2024-05-25 00:37:37 +02:00
|
|
|
enable = mkEnableOption ''
|
|
|
|
Enable git with my custom configurations
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
|
|
|
userName = "Florian RICHER";
|
|
|
|
userEmail = "florian.richer@protonmail.com";
|
|
|
|
|
|
|
|
# signing.signByDefault = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|