Enforce signing of git commits if GNUPG is installed
This commit is contained in:
parent
c1ab1afd4e
commit
33b15f94ce
1 changed files with 4 additions and 0 deletions
4
gpg.nix
4
gpg.nix
|
@ -18,4 +18,8 @@
|
||||||
defaultCacheTtl = 1800;
|
defaultCacheTtl = 1800;
|
||||||
enableSshSupport = false;
|
enableSshSupport = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.git.extraConfig = {
|
||||||
|
commit = { gpgSign = true; };
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue