snowfield/home-manager-modules/git/default.nix
2021-12-11 12:16:25 +01:00

18 lines
326 B
Nix

{ config, pkgs, lib, ... }:
let
cfg = config.luj.programs.git;
in
with lib;
{
options.luj.programs.git = {
enable = mkEnableOption "Enable git program";
};
config = mkIf cfg.enable {
programs.git = {
enable = true;
userName = "Julien Malka";
userEmail = "julien.malka@me.com";
};
};
}