diff options
Diffstat (limited to 'git-settings.nix')
| -rw-r--r-- | git-settings.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/git-settings.nix b/git-settings.nix new file mode 100644 index 0000000..935143e --- /dev/null +++ b/git-settings.nix @@ -0,0 +1,18 @@ +{lib, ...}: +with lib; { + options.my.git = { + enable = mkEnableOption "git configuration sharing"; + + name = mkOption { + type = types.str; + default = ""; + description = "Git user name for other modules"; + }; + + email = mkOption { + type = types.str; + default = ""; + description = "Git user email for other modules"; + }; + }; +} |
