20 lines
405 B
Nix
20 lines
405 B
Nix
|
# 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;
|
||
|
|
||
|
}
|