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"; }