diff options
author | Franck Cuny <franck@fcuny.net> | 2023-05-02 19:30:39 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-05-02 19:30:39 -0700 |
commit | b6d6b6f366c3cbf7e7340f08ea8877bf0a8d45e7 (patch) | |
tree | c45c1011b194c0982ba82c5f2f06d18941a916ca /modules/services/ssh-server | |
parent | profiles/default: move stuff related to boot (diff) | |
download | world-b6d6b6f366c3cbf7e7340f08ea8877bf0a8d45e7.tar.gz |
profiles: consolidates common networking bits
This remove ssh on workstations. I also drop mosh since I don't use it.
Diffstat (limited to 'modules/services/ssh-server')
-rw-r--r-- | modules/services/ssh-server/default.nix | 17 |
1 files changed, 0 insertions, 17 deletions
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; - }]; -} |