Use ssh-agent for ssh, instead of gpg
This commit is contained in:
parent
d6c4888fe1
commit
8a3ccf4326
|
@ -70,6 +70,7 @@
|
|||
themes.fluorescence.enable = true;
|
||||
};
|
||||
|
||||
programs.ssh.startAgent = true;
|
||||
networking.networkmanager.enable = true;
|
||||
time.timeZone = "America/Toronto";
|
||||
}
|
||||
|
|
|
@ -67,6 +67,7 @@
|
|||
themes.fluorescence.enable = true;
|
||||
};
|
||||
|
||||
programs.ssh.startAgent = true;
|
||||
networking.wireless.enable = true;
|
||||
hardware.opengl.enable = true;
|
||||
|
||||
|
|
|
@ -19,17 +19,12 @@ in {
|
|||
# is cleaner than overriding the systemd unit.
|
||||
home.xdg.configFile."gnupg/gpg-agent.conf" = {
|
||||
text = ''
|
||||
enable-ssh-support
|
||||
allow-emacs-pinentry
|
||||
default-cache-ttl ${toString gnupgCfg.cacheTTL}
|
||||
pinentry-program ${pkgs.pinentry.gtk2}/bin/pinentry
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
programs.gnupg.agent.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue