modules/server: update to 23.05, add lldpd
This commit is contained in:
parent
ae934b4bde
commit
65990b4fef
|
@ -15,11 +15,16 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
pub-solar.core.lite = true;
|
||||
|
||||
services.openssh = {
|
||||
services = {
|
||||
lldpd.enable = true;
|
||||
openssh = {
|
||||
enable = true;
|
||||
permitRootLogin = lib.mkForce "prohibit-password";
|
||||
passwordAuthentication = true;
|
||||
openFirewall = true;
|
||||
settings = {
|
||||
PermitRootLogin = lib.mkForce "prohibit-password";
|
||||
PasswordAuthentication = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
networking.networkmanager.enable = lib.mkForce false;
|
||||
|
|
Loading…
Reference in a new issue