From b6d6b6f366c3cbf7e7340f08ea8877bf0a8d45e7 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 2 May 2023 19:30:39 -0700 Subject: profiles: consolidates common networking bits This remove ssh on workstations. I also drop mosh since I don't use it. --- modules/services/ssh-server/default.nix | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 modules/services/ssh-server/default.nix (limited to 'modules/services/ssh-server') diff --git a/modules/services/ssh-server/default.nix b/modules/services/ssh-server/default.nix deleted file mode 100644 index ce5d4c8..0000000 --- a/modules/services/ssh-server/default.nix +++ /dev/null @@ -1,17 +0,0 @@ -{ ... }: { - services.openssh = { - enable = true; - permitRootLogin = "yes"; - passwordAuthentication = false; - }; - - programs.mosh.enable = true; - - networking.firewall.allowedTCPPorts = [ 22 ]; - - # Relevant ports for mosh - networking.firewall.allowedUDPPortRanges = [{ - from = 6000; - to = 6100; - }]; -} -- cgit 1.4.1