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 = {
|
openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
PermitRootLogin = "yes";
|
PermitRootLogin = "yes";stopServices
|
||||||
PasswordAuthentication = false;
|
PasswordAuthentication = false;stopServices
|
||||||
};
|
};stopServices
|
||||||
extraConfig = ''
|
extraConfig = ''stopServices
|
||||||
Match User gitea
|
Match User gitea
|
||||||
AllowAgentForwarding no
|
AllowAgentForwarding no
|
||||||
AllowTcpForwarding no
|
AllowTcpForwarding no
|
||||||
|
|
@ -231,6 +231,11 @@ in
|
||||||
# upgrade.stopServices = [ "gitea" ];
|
# upgrade.stopServices = [ "gitea" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
security.acme = {
|
||||||
|
acceptTerms = true;
|
||||||
|
defaults.email = "rs@rs.ht";
|
||||||
|
};
|
||||||
|
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue