blob: caf445c96049787a1789ca7688d08e5d0439ea70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ config, lib, pkgs, ... }:
let
cfg = config.git;
in {
options.git.enable = lib.mkEnableOption "Enable and configure Git";
config = lib.mkIf cfg.enable {
programs.git = {
enable = true;
userName = "schererleander";
userEmail = "leander@schererleander.de";
extraConfig = {
alias.co = "checkout";
alias.br = "branch";
alias.st = "status";
};
};
};
}
|