mail.idimitrov.dev/mailserver/configuration.nix

24 lines
452 B
Nix
Raw Normal View History

{ config, pkgs, lib, ... }:
2023-09-19 14:22:42 +02:00
{
2023-09-20 13:14:25 +02:00
website.enable = true;
mailserver.enable = true;
services = {
openssh = {
enable = true;
settings = {
PermitRootLogin = "prohibit-password";
};
};
};
systemd = {
services = {
"serial-getty@ttyS0".enable = lib.mkForce false;
};
extraConfig = ''
DefaultTimeoutStartSec=900s
'';
};
2023-10-14 10:26:26 +02:00
time.timeZone = "Europe/Sofia";
system.stateVersion = "23.11";
2023-09-19 14:22:42 +02:00
}