From 16c34ad804f92d76615544c9983912235975fcb2 Mon Sep 17 00:00:00 2001 From: Ray Andrew <4437323+rayandrew@users.noreply.github.com> Date: Fri, 11 Oct 2024 23:07:50 -0500 Subject: [PATCH] remove redundant openssh --- hosts/git/configuration.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/hosts/git/configuration.nix b/hosts/git/configuration.nix index 2882855..4a15585 100644 --- a/hosts/git/configuration.nix +++ b/hosts/git/configuration.nix @@ -49,14 +49,6 @@ }; }; - services.openssh = { - enable = true; - settings = { - PermitRootLogin = "yes"; - PasswordAuthentication = false; - }; - }; - boot = { tmp.cleanOnBoot = true; loader.grub.device = "/dev/sda"; @@ -215,6 +207,10 @@ openssh = { enable = true; + settings = { + PermitRootLogin = "yes"; + PasswordAuthentication = false; + }; extraConfig = '' Match User gitea AllowAgentForwarding no