1
0
Fork 0

Try ssh-agent on hera

This commit is contained in:
Malte Brandy 2020-12-17 02:57:37 +01:00
parent 957fc883a1
commit 3d0fa112aa
3 changed files with 7 additions and 13 deletions

View file

@ -116,7 +116,6 @@ in {
./roles/headless-mpd.nix
./roles/mail.nix
./roles/mail2rss.nix
./roles/ssh-via-gpg-agent.nix
];
};
}

View file

@ -1,8 +0,0 @@
{ ... }: {
services = {
gpg-agent = {
defaultCacheTtlSsh = 31536000; # 1year
enableSshSupport = 31536000; # 1year
};
};
}

View file

@ -31,10 +31,13 @@ in {
}];
programs = {
ssh.extraConfig = ''
Host fb04*.mathematik.tu-darmstadt.de
ProxyJump brandy@gwres1.mathematik.tu-darmstadt.de
'';
ssh = {
extraConfig = ''
Host fb04*.mathematik.tu-darmstadt.de
ProxyJump brandy@gwres1.mathematik.tu-darmstadt.de
'';
startAgent = true;
};
};
systemd.services."pg_backup" = {
script = let name = "matrix-synapse";