This commit is contained in:
2025-04-05 12:56:54 -04:00
parent 4b59691aae
commit b7bcb353f7
10 changed files with 134 additions and 114 deletions

View File

@@ -1,4 +1,4 @@
{ config, format, lib, namespace, ... }:
{ config, lib, namespace, ... }:
let
inherit (lib)
types
@@ -40,7 +40,7 @@ in
AuthenticationMethods = "publickey";
ChallengeResponseAuthentication = "no";
PasswordAuthentication = false;
PermitRootLogin = if format == "install-iso" then "yes" else "no";
PermitRootLogin = "prohibit-password";
PubkeyAuthentication = "yes";
StreamLocalBindUnlink = "yes";
UseDns = false;