about summary refs log tree commit diff
path: root/hosts/common
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-05 17:13:25 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-05 17:13:25 -0700
commit57edf6fec41abf571d637b09bd4132f858106381 (patch)
tree9cfee9ccb416f464b55bbcb9c714f85423828250 /hosts/common
parentnix: refactor to a module (diff)
downloadworld-57edf6fec41abf571d637b09bd4132f858106381.tar.gz
ssh: refactor to a module
Also install mosh and ensure the firewall opens the correct ports.
Diffstat (limited to '')
-rw-r--r--hosts/common/system/default.nix1
-rw-r--r--hosts/common/system/ssh.nix6
2 files changed, 0 insertions, 7 deletions
diff --git a/hosts/common/system/default.nix b/hosts/common/system/default.nix
index 2e34ede..6fc0651 100644
--- a/hosts/common/system/default.nix
+++ b/hosts/common/system/default.nix
@@ -8,7 +8,6 @@
     ./network.nix
     ./security.nix
     ./software.nix
-    ./ssh.nix
     ./users.nix
   ];
 
diff --git a/hosts/common/system/ssh.nix b/hosts/common/system/ssh.nix
deleted file mode 100644
index cb7c47d..0000000
--- a/hosts/common/system/ssh.nix
+++ /dev/null
@@ -1,6 +0,0 @@
-{
-  # Enable the OpenSSH daemon.
-  services.openssh.enable = true;
-  services.openssh.permitRootLogin = "yes";
-  services.openssh.passwordAuthentication = false;
-}