From efb1cda6d789e81cce0fafd753fb4d96eed6f9b7 Mon Sep 17 00:00:00 2001 From: triethyl Date: Tue, 2 Sep 2025 21:21:46 -0400 Subject: homelab: working on homelab --- nixos/features/server/core/ssh.nix | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 nixos/features/server/core/ssh.nix (limited to 'nixos/features/server/core') diff --git a/nixos/features/server/core/ssh.nix b/nixos/features/server/core/ssh.nix deleted file mode 100644 index 16fec48..0000000 --- a/nixos/features/server/core/ssh.nix +++ /dev/null @@ -1,15 +0,0 @@ -{ config, lib, ... }: let - cfg = config.features.server.ssh; -in { - options.features.server.ssh.enable = lib.mkEnableOption "sshd"; - config = lib.mkIf cfg.enable { - services.openssh = { - enable = true; - ports = [ 2200 ]; - settings = { - PermitRootLogin = "no"; - PasswordAuthentication = false; - }; - }; - }; -} -- cgit v1.2.3