This commit is contained in:
John Lancaster
2026-03-10 21:48:44 -05:00
parent 95391fc713
commit 7eaa32f161
7 changed files with 189 additions and 7 deletions

View File

@@ -117,4 +117,17 @@ in
};
};
};
flake.modules.nixos.ssh = {
services.openssh = {
enable = true;
# require public key authentication for better security
settings.PasswordAuthentication = false;
settings.KbdInteractiveAuthentication = false;
};
home-manager.sharedModules = with inputs.self.homeModules; [
ssh
];
};
}