From bec6421e62d732aa1f17c2fcc968d5b6731e26a2 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Thu, 23 Oct 2025 12:50:48 +0200 Subject: Move git config to secrets folder --- git-settings.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 git-settings.nix (limited to 'git-settings.nix') 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"; + }; + }; +} -- cgit v1.2.3