summaryrefslogtreecommitdiff
path: root/os/server
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-06-04 21:14:28 +0530
committersinanmohd <sinan@sinanmohd.com>2024-06-05 00:44:38 +0530
commite038eb08741a003dde903ffc5c12fa40cfcf1bf4 (patch)
treeb736bbe82bf31b80c841bcf047890170c8cdce59 /os/server
parent65f71da77061339b4ed9b33508e95049a4e77cb4 (diff)
os/server: init
Diffstat (limited to 'os/server')
-rw-r--r--os/server/configuration.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/os/server/configuration.nix b/os/server/configuration.nix
new file mode 100644
index 0000000..8b1e5e9
--- /dev/null
+++ b/os/server/configuration.nix
@@ -0,0 +1,6 @@
+{ ... }: {
+ services.openssh = {
+ enable = true;
+ settings.PasswordAuthentication = false;
+ };
+}