2022-08-13 20:35:43 +00:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
# For rage encryption, all hosts need a ssh key pair
|
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
2022-08-14 17:23:58 +00:00
|
|
|
openFirewall = lib.mkDefault true;
|
|
|
|
passwordAuthentication = false;
|
2022-08-13 20:35:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Service that makes Out of Memory Killer more effective
|
|
|
|
services.earlyoom.enable = true;
|
|
|
|
}
|