diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-02-05 15:41:47 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 18:58:45 -0700 |
| commit | 1b57fbd0aa4e790e3dbb007ea315b1af6efabf31 (patch) | |
| tree | 952a9fda15236bdc62c39c4a5c2f172a7eca4953 /snowfall/modules/nixos/apps/git/default.nix | |
| parent | df2a7d06f36027d8df1afef928de86c70c58da8d (diff) | |
migration: git
Diffstat (limited to 'snowfall/modules/nixos/apps/git/default.nix')
| -rw-r--r-- | snowfall/modules/nixos/apps/git/default.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/snowfall/modules/nixos/apps/git/default.nix b/snowfall/modules/nixos/apps/git/default.nix new file mode 100644 index 0000000..e7a2afa --- /dev/null +++ b/snowfall/modules/nixos/apps/git/default.nix @@ -0,0 +1,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; + }; +} |