configure ssh/gpg agents

This commit is contained in:
Adithya 2023-03-22 23:28:11 +05:30
parent fe7ae76bdb
commit 50c56ee1cc
No known key found for this signature in database
GPG key ID: 0C7F35F4F821290F
3 changed files with 15 additions and 2 deletions

View file

@ -63,9 +63,18 @@ in
keyserver = "hkps://keys.openpgp.org"; keyserver = "hkps://keys.openpgp.org";
}; };
}; };
ssh = {
enable = true;
};
}; };
services.blueman-applet.enable = true; services.blueman-applet.enable = true;
services.gpg-agent = {
enable = true;
enableExtraSocket = true;
enableSshSupport = true;
pinentryFlavor = "gnome3";
};
xdg.enable = true; xdg.enable = true;
xdg.mime.enable = true; xdg.mime.enable = true;

View file

@ -2,6 +2,4 @@
{ {
services.gnome-keyring.enable = true; services.gnome-keyring.enable = true;
services.gpg-agent.enable = true;
services.gpg-agent.pinentryFlavor = "gnome3";
} }

View file

@ -15,6 +15,12 @@
programs = { programs = {
git.enable = true; git.enable = true;
gnupg.agent = {
enable = true;
enableExtraSocket = true;
enableSSHSupport = true;
pinentryFlavor = "gnome3";
};
neovim = { neovim = {
enable = true; enable = true;
defaultEditor = true; defaultEditor = true;