1
0

Sync with upstream module updates

This commit is contained in:
dump_stack() 2024-06-24 10:12:16 +00:00
parent 45710c9a76
commit 9ec6c50a2b
Signed by: dump_stack
GPG Key ID: C9905BA72B5E02BB

View File

@ -11,7 +11,6 @@ in {
]; ];
boot.loader.grub.enable = true; boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/vda"; boot.loader.grub.device = "/dev/vda";
swapDevices = [ swapDevices = [
@ -40,27 +39,30 @@ in {
services.gitea = { services.gitea = {
enable = true; enable = true;
appName = "${hostname}"; appName = "${hostname}";
domain = "${hostname}";
rootUrl = "https://${hostname}";
disableRegistration = true;
settings = { settings = {
"ui" = { server = {
DEFAULT_THEME = "gitea"; ROOT_URL = "https://${hostname}";
DOMAIN = "${hostname}";
}; };
"attachment" = { service = {
ENABLED = true; DISABLE_REGISTRATION = true;
ALLOWED_TYPES = "*/*";
}; };
"other" = { attachment = {
ENABLED = false;
};
other = {
SHOW_FOOTER_VERSION = false; SHOW_FOOTER_VERSION = false;
}; };
"repository.signing" = { repository = {
signing = {
DEFAULT_TRUST_MODEL = "committer"; DEFAULT_TRUST_MODEL = "committer";
}; };
}; };
}; };
};
security.acme.email = "letsencrypt@dumpstack.io"; security.acme.defaults.email = "letsencrypt@dumpstack.io";
security.acme.acceptTerms = true; security.acme.acceptTerms = true;
services.nginx = { services.nginx = {