From 65990b4fefba3c5621556a29f4abff833fedfc96 Mon Sep 17 00:00:00 2001 From: Hendrik Sokolowski Date: Fri, 6 Oct 2023 00:15:50 +0200 Subject: [PATCH] modules/server: update to 23.05, add lldpd --- modules/server/default.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/modules/server/default.nix b/modules/server/default.nix index 7931e16a..32b783c6 100644 --- a/modules/server/default.nix +++ b/modules/server/default.nix @@ -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;