diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-02-05 16:03:46 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 18:58:46 -0700 |
| commit | 8e489a4cbe7d92f0c0c35568c816221c5d6ada64 (patch) | |
| tree | 84ed238f3ca35027debbd43700e2d00b7478bad8 /snowfall/modules/nixos/tools/git | |
| parent | 44d916a1b1fdad87697502e6ef6ad515956bca37 (diff) | |
migration: move utility apps to tools
Diffstat (limited to 'snowfall/modules/nixos/tools/git')
| -rw-r--r-- | snowfall/modules/nixos/tools/git/default.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/snowfall/modules/nixos/tools/git/default.nix b/snowfall/modules/nixos/tools/git/default.nix new file mode 100644 index 0000000..c619658 --- /dev/null +++ b/snowfall/modules/nixos/tools/git/default.nix @@ -0,0 +1,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; + }; +} |