Legion: temp revert username change, enable key-based root login only

This commit is contained in:
Evie Litherland-Smith 2024-03-08 07:14:19 +00:00
parent 47300973eb
commit 1426985da6
2 changed files with 2 additions and 1 deletions

View file

@ -171,6 +171,7 @@
Legion = systemConfig {
hostName = "Legion";
user = "xenia";
systemModules = [
./services/nix-serve.nix
./services/caddy.nix

View file

@ -4,7 +4,7 @@
ports = [22];
settings = {
UseDns = true;
PermitRootLogin = "no";
PermitRootLogin = "without-password";
PasswordAuthentication = false;
GatewayPorts = "yes";
LogLevel = "VERBOSE";