modified: README.md

modified:   modules/server/README.md
	new file:   modules/server/lxc-ssh.nix
	modified:   profiles/lxc.nix
This commit is contained in:
luochen570
2026-05-27 07:02:37 +08:00
parent a2bd672cf7
commit 575529f159
4 changed files with 12 additions and 10 deletions

View File

@@ -1,14 +1,7 @@
{ ... }:
{
imports = [
../modules/core
../modules/server
../modules/server/lxc-ssh.nix
];
# LXC 容器需要密码登录s0.sermc.net无 SSH key 注入)
services.openssh.settings = {
PermitRootLogin = "prohibit-password";
PasswordAuthentication = true;
KbdInteractiveAuthentication = true;
};
}