ssh8022: expand to more clients and servers

This commit is contained in:
2024-08-25 11:37:56 +03:00
parent 2beabf8ad8
commit bc6cc6eb84
4 changed files with 23 additions and 2 deletions

View File

@@ -10,6 +10,12 @@ in
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
age.secrets.ssh8022-server = {
file = ../../secrets/ssh8022.age;
owner = "spiped";
path = "/var/lib/spiped/ssh8022.key";
};
boot = {
loader.systemd-boot.enable = true;
initrd = {
@@ -67,6 +73,11 @@ in
sshguard.enable = true;
tailscale.enable = true;
ssh8022.server = {
enable = true;
keyfile = config.age.secrets.ssh8022-server.path;
};
remote-builder.server = {
enable = true;
uidgid = myData.uidgid.remote-builder;