From d405ff6d5c223458b7720879c8c8951d0c1ecef9 Mon Sep 17 00:00:00 2001 From: Ray Andrew <4437323+rayandrew@users.noreply.github.com> Date: Fri, 11 Oct 2024 23:17:06 -0500 Subject: [PATCH] add acme accept --- hosts/git/configuration.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/hosts/git/configuration.nix b/hosts/git/configuration.nix index 2d1391b..8ae8aca 100644 --- a/hosts/git/configuration.nix +++ b/hosts/git/configuration.nix @@ -213,10 +213,10 @@ in openssh = { enable = true; settings = { - PermitRootLogin = "yes"; - PasswordAuthentication = false; - }; - extraConfig = '' + PermitRootLogin = "yes";stopServices + PasswordAuthentication = false;stopServices + };stopServices + extraConfig = ''stopServices Match User gitea AllowAgentForwarding no AllowTcpForwarding no @@ -231,6 +231,11 @@ in # upgrade.stopServices = [ "gitea" ]; }; }; + + security.acme = { + acceptTerms = true; + defaults.email = "rs@rs.ht"; + }; system.stateVersion = "24.05"; }