services/ssh: drop SSH_AUTH_SOCK env var, disable ssh.startAgent
This commit is contained in:
parent
ef617f52db
commit
655626c237
1 changed files with 0 additions and 5 deletions
|
@ -3,11 +3,6 @@
|
||||||
in {
|
in {
|
||||||
options.modules.programs.ssh.enable = mkEnableOption "ssh";
|
options.modules.programs.ssh.enable = mkEnableOption "ssh";
|
||||||
config = {
|
config = {
|
||||||
# set the ssh socket globally. This alows all applications and shells to use
|
|
||||||
# the ssh-agent.
|
|
||||||
environment.sessionVariables.SSH_AUTH_SOCK = "/run/user/1000/ssh-agent";
|
|
||||||
programs.ssh.startAgent = true;
|
|
||||||
|
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
ports = [22];
|
ports = [22];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue