Aquatic-Nix/modules/services/ssh.nix

19 lines
340 B
Nix

{ ... }:
{
flake.modules.nixos.ssh =
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
kitty
];
services.openssh = {
enable = true;
openFirewall = true;
settings = {
PasswordAuthentication = true;
PermitRootLogin = "no";
};
};
};
}