diff --git a/flake.nix b/flake.nix index 88df0318..98f49b0a 100644 --- a/flake.nix +++ b/flake.nix @@ -171,6 +171,7 @@ Legion = systemConfig { hostName = "Legion"; + user = "xenia"; systemModules = [ ./services/nix-serve.nix ./services/caddy.nix diff --git a/services/sshd.nix b/services/sshd.nix index e2a38a7c..841cb90f 100644 --- a/services/sshd.nix +++ b/services/sshd.nix @@ -4,7 +4,7 @@ ports = [22]; settings = { UseDns = true; - PermitRootLogin = "no"; + PermitRootLogin = "without-password"; PasswordAuthentication = false; GatewayPorts = "yes"; LogLevel = "VERBOSE";