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 {
|
config = mkIf cfg.enable {
|
||||||
pub-solar.core.lite = true;
|
pub-solar.core.lite = true;
|
||||||
|
|
||||||
services.openssh = {
|
services = {
|
||||||
|
lldpd.enable = true;
|
||||||
|
openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
permitRootLogin = lib.mkForce "prohibit-password";
|
|
||||||
passwordAuthentication = 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;
|
||||||
|
|
Loading…
Reference in a new issue