Florian RICHER
b7f82f87e8
All checks were successful
check / check (push) Successful in 34s
Reviewed-on: https://gitea.mrdev023.fr/florian.richer/nixos/pulls/1 Co-authored-by: Florian RICHER <florian.richer@protonmail.com> Co-committed-by: Florian RICHER <florian.richer@protonmail.com>
22 lines
No EOL
424 B
Nix
22 lines
No EOL
424 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.modules.home.shell.git;
|
|
in
|
|
{
|
|
options.modules.home.shell.git = {
|
|
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;
|
|
};
|
|
};
|
|
} |