aboutsummaryrefslogtreecommitdiffstats
path: root/modules/private/git.example.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/private/git.example.nix')
-rw-r--r--modules/private/git.example.nix17
1 files changed, 11 insertions, 6 deletions
diff --git a/modules/private/git.example.nix b/modules/private/git.example.nix
index 236687e..da4d77e 100644
--- a/modules/private/git.example.nix
+++ b/modules/private/git.example.nix
@@ -1,12 +1,17 @@
# Git example - Template for configuring git identity and signing
{ ... }:
{
- config.development.git = {
- username = "Arpit Chakladar";
- email = "arpitchakladar+git@gmail.com";
- signing = {
- key = "EXAMPLE_GPG_KEY_ID";
- signByDefault = true;
+ config = {
+ development.git = {
+ username = "Your Name";
+ email = "you@example.com";
+ signing = {
+ key = "EXAMPLE_GPG_KEY_ID";
+ signByDefault = true;
+ };
};
+
+ # SSH keys to load from gopass (entries under ssh/ in the gopass store)
+ security.ssh.gopassKeys = [ "github" ];
};
}