blob: c6196584e5edf9934fa34f39f58c81f5fc5377d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{ options, config, lib, namespace, ... }:
with lib; with lib.${namespace}; let
cfg = config.${namespace}.tools.git;
in {
options.${namespace}.tools.git = with types; {
enable = mkEnableOption "git";
};
config = mkIf cfg.enable {
programs.git.enable = true;
};
}
|