Use sshSign module on extremophile

This commit is contained in:
Nathan McCarty 2023-05-11 11:27:05 -04:00
parent f020ff94f5
commit 86394b692c
No known key found for this signature in database
1 changed files with 6 additions and 9 deletions

View File

@ -3,7 +3,12 @@
{ {
nathan = { nathan = {
programs = { programs = {
util = { git = { gpgSign = false; }; }; util = {
git = {
gpgSign = false;
sshSign = true;
};
};
devel = { devel = {
idris2 = true; idris2 = true;
haskell = false; haskell = false;
@ -14,12 +19,4 @@
}; };
config = { isDesktop = true; }; config = { isDesktop = true; };
}; };
# Setup git commit signing with ssh key
programs.git = {
extraConfig = {
commit.gpgsign = true;
gpg.format = "ssh";
user.signingkey = "~/.ssh/id_ed25519.pub";
};
};
} }