os/shared/core/services.nix

20 lines
405 B
Nix
Raw Normal View History

# Services that are common and don't require complex configuration. If there are options
# involved, consider moving the service to its own module.
{ ... }: {
services.openssh = {
enable = true;
settings.PasswordAuthentication = false;
};
services.tailscale = {
# TODO: configure declaratively
enable = true;
interfaceName = "ts0";
};
services.earlyoom.enable = true;
}