{ lib, config, pkgs, ... }: let cfg = config.l.git; in { options.l.git.enable = lib.mkEnableOption "Enable gitconfig"; config = lib.mkIf cfg.enable { home-manager.users.${config.l.home.username} = { home.packages = with pkgs; [ git ]; programs.jujutsu = { enable = true; settings = { user.email = "cow@cow.computer"; user.name = "Cow"; }; }; programs.git = { enable = true; settings = { user.email = "cow@cow.computer"; user.name = "Cow"; }; }; }; }; }