modules/server: update to 23.05, add lldpd

This commit is contained in:
Hendrik Sokolowski 2023-10-06 00:15:50 +02:00
parent ae934b4bde
commit 65990b4fef

View file

@ -15,11 +15,16 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
pub-solar.core.lite = true; pub-solar.core.lite = true;
services.openssh = { services = {
enable = true; lldpd.enable = true;
permitRootLogin = lib.mkForce "prohibit-password"; openssh = {
passwordAuthentication = true; enable = true;
openFirewall = true; openFirewall = true;
settings = {
PermitRootLogin = lib.mkForce "prohibit-password";
PasswordAuthentication = true;
};
};
}; };
networking.networkmanager.enable = lib.mkForce false; networking.networkmanager.enable = lib.mkForce false;