about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-09 17:16:32 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-09 17:16:32 -0800
commit455acd7d2edc5aecf62ab6b2ee6c16360fda9980 (patch)
treec5b96fdf7923d83e817b04adcd3bbdfdf14d9d7b
parenthome-manager: rofi uses alacritty (diff)
downloadworld-455acd7d2edc5aecf62ab6b2ee6c16360fda9980.tar.gz
ssh: new module for managing ssh
Diffstat (limited to '')
-rw-r--r--modules/systems/ssh.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/systems/ssh.nix b/modules/systems/ssh.nix
new file mode 100644
index 0000000..0ecca80
--- /dev/null
+++ b/modules/systems/ssh.nix
@@ -0,0 +1,5 @@
+{
+  # Enable the OpenSSH daemon.
+  services.openssh.enable = true;
+  services.openssh.permitRootLogin = "yes";
+}