Sync with upstream module updates
This commit is contained in:
parent
45710c9a76
commit
9ec6c50a2b
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user