nixos-config/services/openssh.nix
Charlotte 🦝 Delenk 45ef7c4c12
All checks were successful
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #22549 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra nixosConfigurations.not522-installer Hydra build #22553 of nixos-config:pr618:nixosConfigurations.not522-installer
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #22550 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra checks.x86_64-linux.containers-default Hydra build #22548 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #22551 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.not522 Hydra build #22552 of nixos-config:pr618:nixosConfigurations.not522
eh
2024-10-31 09:28:33 +01:00

8 lines
193 B
Nix

{...}: {
services.openssh.enable = true;
services.openssh.settings = {
PermitRootLogin = "yes";
PasswordAuthentication = false;
};
networking.firewall.allowedTCPPorts = [22];
}