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