diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-10-23 17:41:18 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-10-23 17:41:18 -0700 |
| commit | 3d717b6415d4429a2f9bc9619ac0bbff456827c3 (patch) | |
| tree | 29f83695d3311f9b888ef25f7dfe6aff6955bde4 /modules/nixos/ssh.nix | |
| parent | enable tailscale on 2 machines (diff) | |
| download | infra-3d717b6415d4429a2f9bc9619ac0bbff456827c3.tar.gz | |
move a few more things back as profiles
Diffstat (limited to 'modules/nixos/ssh.nix')
| -rw-r--r-- | modules/nixos/ssh.nix | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/modules/nixos/ssh.nix b/modules/nixos/ssh.nix deleted file mode 100644 index b4c8772..0000000 --- a/modules/nixos/ssh.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ lib, ... }: -{ - networking.firewall.allowedTCPPorts = [ 22 ]; - - services.openssh = { - enable = lib.mkDefault true; - settings = { - PasswordAuthentication = lib.mkForce false; - KbdInteractiveAuthentication = lib.mkForce false; - - PermitRootLogin = lib.mkForce "prohibit-password"; - }; - openFirewall = lib.mkDefault true; - hostKeys = [ - { - path = "/etc/ssh/ssh_host_ed25519_key"; - type = "ed25519"; - } - ]; - }; -} |
