Try ssh-agent on hera
This commit is contained in:
parent
957fc883a1
commit
3d0fa112aa
3 changed files with 7 additions and 13 deletions
|
@ -116,7 +116,6 @@ in {
|
||||||
./roles/headless-mpd.nix
|
./roles/headless-mpd.nix
|
||||||
./roles/mail.nix
|
./roles/mail.nix
|
||||||
./roles/mail2rss.nix
|
./roles/mail2rss.nix
|
||||||
./roles/ssh-via-gpg-agent.nix
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
{ ... }: {
|
|
||||||
services = {
|
|
||||||
gpg-agent = {
|
|
||||||
defaultCacheTtlSsh = 31536000; # 1year
|
|
||||||
enableSshSupport = 31536000; # 1year
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -31,10 +31,13 @@ in {
|
||||||
}];
|
}];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
ssh.extraConfig = ''
|
ssh = {
|
||||||
|
extraConfig = ''
|
||||||
Host fb04*.mathematik.tu-darmstadt.de
|
Host fb04*.mathematik.tu-darmstadt.de
|
||||||
ProxyJump brandy@gwres1.mathematik.tu-darmstadt.de
|
ProxyJump brandy@gwres1.mathematik.tu-darmstadt.de
|
||||||
'';
|
'';
|
||||||
|
startAgent = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
systemd.services."pg_backup" = {
|
systemd.services."pg_backup" = {
|
||||||
script = let name = "matrix-synapse";
|
script = let name = "matrix-synapse";
|
||||||
|
|
Loading…
Reference in a new issue