add acme accept
This commit is contained in:
parent
0a57d3d91d
commit
d405ff6d5c
1 changed files with 9 additions and 4 deletions
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue