add nixos configuration for Cape

This commit is contained in:
ulic-youthlic 2025-01-27 10:55:21 +08:00
parent a69f8cd125
commit cf03484587
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
20 changed files with 310 additions and 13 deletions

View file

@ -11,6 +11,7 @@ in
config = lib.mkIf cfg.enable {
services.openssh = {
enable = true;
openFirewall = true;
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;