aboutsummaryrefslogtreecommitdiff
path: root/snowfall/modules/nixos/apps/git/default.nix
blob: e7a2afa269fe18a952ce160a66cb2322471c4cb5 (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}.apps.git;
in {
  options.${namespace}.apps.git = with types; {
    enable = mkEnableOption "git";
  };

  config = mkIf cfg.enable {
    programs.git.enable = true;
  };
}