From 868ffd64e4a685d4e8dab3e866c8b3a146e13cd7 Mon Sep 17 00:00:00 2001 From: Katherina Walshe-Grey Date: Wed, 5 Feb 2025 19:13:10 +0000 Subject: [PATCH] ssh: rename from openssh, update nixos module name --- common/default.nix | 4 ++-- common/{openssh.nix => ssh.nix} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename common/{openssh.nix => ssh.nix} (85%) diff --git a/common/default.nix b/common/default.nix index 81a7423..dd503b1 100644 --- a/common/default.nix +++ b/common/default.nix @@ -8,10 +8,10 @@ ./misc.nix ./nginx.nix ./nix.nix - ./openssh.nix ./packages.nix ./sanoid.nix ./security.nix + ./ssh.nix ./steam.nix ]; -} \ No newline at end of file +} diff --git a/common/openssh.nix b/common/ssh.nix similarity index 85% rename from common/openssh.nix rename to common/ssh.nix index 195277e..43f9e30 100644 --- a/common/openssh.nix +++ b/common/ssh.nix @@ -1,11 +1,11 @@ { config, lib, pkgs, ... }: { - services.openssh = { + programs.ssh = { enable = true; settings = { PasswordAuthentication = false; PermitRootLogin = "no"; }; }; -} \ No newline at end of file +}