1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2024-02-25 00:51:34 +01:00
parent ee100f5496
commit 4fd2988a50
4 changed files with 21 additions and 14 deletions

View file

@ -1,4 +1,8 @@
{lib, ...}: {
{
lib,
pkgs,
...
}: {
environment.persistence."/persist".files = [
"/etc/ssh/ssh_host_ed25519_key"
"/etc/ssh/ssh_host_ed25519_key.pub"
@ -21,7 +25,10 @@
};
};
programs.ssh.startAgent = true;
programs.ssh = {
startAgent = true;
askPassword = lib.getExe' pkgs.ksshaskpass "ksshaskpass";
};
environment.etc."ssh/ssh_config".text = lib.mkAfter ''
Compression yes