Begin implement home

This commit is contained in:
Florian RICHER 2024-05-26 01:10:42 +02:00
parent 5a593616f8
commit cc46a03e64
12 changed files with 63 additions and 11 deletions

View file

@ -0,0 +1,22 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.modules.cli.git;
in
{
options.modules.cli.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;
};
};
}