diff options
| author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2025-10-23 12:50:48 +0200 |
|---|---|---|
| committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2025-10-23 12:50:48 +0200 |
| commit | bec6421e62d732aa1f17c2fcc968d5b6731e26a2 (patch) | |
| tree | b0d9b1d0f8fbe598805e77f10902a17170b48fcd /git-settings.nix | |
| parent | acea386f5137cb8f0ba890aa3a78499a674023f4 (diff) | |
| download | home-manager-bec6421e62d732aa1f17c2fcc968d5b6731e26a2.tar.gz home-manager-bec6421e62d732aa1f17c2fcc968d5b6731e26a2.tar.bz2 home-manager-bec6421e62d732aa1f17c2fcc968d5b6731e26a2.zip | |
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"; + }; + }; +} |
