about summary refs log tree commit diff
path: root/hosts/common/system/ssh.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-12 13:53:12 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-12 13:54:53 -0800
commit8c7ce797eb2a1c5b8b3c602ecd3300cd23e8b46c (patch)
tree445cbdba282c01659a1e9a14583a1e7283106315 /hosts/common/system/ssh.nix
parenthosts: import common modules (diff)
downloadworld-8c7ce797eb2a1c5b8b3c602ecd3300cd23e8b46c.tar.gz
hosts: rename commons to common
Diffstat (limited to 'hosts/common/system/ssh.nix')
-rw-r--r--hosts/common/system/ssh.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/hosts/common/system/ssh.nix b/hosts/common/system/ssh.nix
new file mode 100644
index 0000000..0ecca80
--- /dev/null
+++ b/hosts/common/system/ssh.nix
@@ -0,0 +1,5 @@
+{
+  # Enable the OpenSSH daemon.
+  services.openssh.enable = true;
+  services.openssh.permitRootLogin = "yes";
+}