Files
2025-10-18 21:43:00 +02:00

15 lines
319 B
Nix

{ config, lib, pkgs, modulesPath, ... }:
{
options.lumpiasty.sshd = lib.mkEnableOption "Enable intel CPU";
config = lib.mkIf config.lumpiasty.sshd {
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
AllowUsers = [ "user" ];
};
};
};
}