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 {
pub-solar.core.lite = true;
services.openssh = {
enable = true;
permitRootLogin = lib.mkForce "prohibit-password";
passwordAuthentication = true;
openFirewall = true;
services = {
lldpd.enable = true;
openssh = {
enable = true;
openFirewall = true;
settings = {
PermitRootLogin = lib.mkForce "prohibit-password";
PasswordAuthentication = true;
};
};
};
networking.networkmanager.enable = lib.mkForce false;