disable lfs on gitea as it does seem to prevent startup
This commit is contained in:
parent
ee21c83e8d
commit
7cac19b742
1 changed files with 4 additions and 4 deletions
|
@ -39,7 +39,7 @@ in {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://localhost:" + toString httpPort;
|
proxyPass = "http://127.0.0.1:" + toString httpPort;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -84,9 +84,7 @@ in {
|
||||||
imports =
|
imports =
|
||||||
[ "${inputs.nixpkgs-stable}/nixos/modules/services/misc/gitea.nix" ];
|
[ "${inputs.nixpkgs-stable}/nixos/modules/services/misc/gitea.nix" ];
|
||||||
services.gitea = {
|
services.gitea = {
|
||||||
inherit domain httpPort;
|
|
||||||
enable = true;
|
enable = true;
|
||||||
rootUrl = baseurl;
|
|
||||||
stateDir = path;
|
stateDir = path;
|
||||||
user = systemUserName;
|
user = systemUserName;
|
||||||
mailerPasswordFile = mailgunSmtpPasswordPath;
|
mailerPasswordFile = mailgunSmtpPasswordPath;
|
||||||
|
@ -102,11 +100,13 @@ in {
|
||||||
IS_INPUT_FILE = false;
|
IS_INPUT_FILE = false;
|
||||||
};
|
};
|
||||||
server = {
|
server = {
|
||||||
|
ROOT_URL = baseurl;
|
||||||
|
DOMAIN = domain;
|
||||||
START_SSH_SERVER = true;
|
START_SSH_SERVER = true;
|
||||||
SSH_PORT = sshPort;
|
SSH_PORT = sshPort;
|
||||||
|
HTTP_PORT = httpPort;
|
||||||
SSH_LISTEN_PORT = sshPort;
|
SSH_LISTEN_PORT = sshPort;
|
||||||
DISABLE_SSH = false;
|
DISABLE_SSH = false;
|
||||||
LFS_START_SERVER = true;
|
|
||||||
};
|
};
|
||||||
mailer = {
|
mailer = {
|
||||||
ENABLED = true;
|
ENABLED = true;
|
||||||
|
|
Loading…
Reference in a new issue