1
0
Fork 0
dotfiles/system/nixos/ssh.nix

16 lines
284 B
Nix
Raw Normal View History

2024-12-23 00:07:17 +00:00
{ pkgs, ... }:
2022-07-30 17:49:04 +00:00
{
2022-07-31 19:23:28 +00:00
services.openssh = {
enable = true;
2023-01-22 12:50:29 +00:00
settings = {
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
PermitRootLogin = "prohibit-password";
2023-01-22 12:50:29 +00:00
};
2022-07-31 19:23:28 +00:00
};
2024-12-23 00:07:17 +00:00
environment.systemPackages = with pkgs; [ wezterm.terminfo ];
2022-07-30 17:49:04 +00:00
}