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