diff options
| author | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-07-09 01:44:25 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-07-09 01:44:25 +0530 |
| commit | a2beb86ab62f0f2c5052b8efe46bec5086907e3b (patch) | |
| tree | d58e3556c17b8f1d0335f8b44bde43cf52cf5b13 /modules/programs/gpg/git.nix | |
| parent | 94b00e624cec84c713c75d04dc2497ec95477945 (diff) | |
| download | home-manager-config-a2beb86ab62f0f2c5052b8efe46bec5086907e3b.tar.gz home-manager-config-a2beb86ab62f0f2c5052b8efe46bec5086907e3b.zip | |
refactor: removed the useless git config options from gpg in favor of predefined options
Diffstat (limited to 'modules/programs/gpg/git.nix')
| -rw-r--r-- | modules/programs/gpg/git.nix | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/modules/programs/gpg/git.nix b/modules/programs/gpg/git.nix deleted file mode 100644 index a4a74d2..0000000 --- a/modules/programs/gpg/git.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ config, lib, ... }: - -{ - options.programs.git.signCommits = lib.mkEnableOption "GPG signing of git commits."; - - config = lib.mkIf config.programs.git.signCommits { - assertions = [ - { - assertion = config.programs.gpg.enable; - message = "programs.git.signCommits requires programs.gpg.enable to be true."; - } - ]; - - programs.git.settings = { - commit.gpgSign = true; - }; - }; -} |
