make sure to use working (stable) definition of the gitea service
This commit is contained in:
parent
a72a910f37
commit
670200c122
1 changed files with 5 additions and 1 deletions
|
@ -80,6 +80,9 @@ in {
|
||||||
mutableUsers = false;
|
mutableUsers = false;
|
||||||
allowNoPasswordLogin = true;
|
allowNoPasswordLogin = true;
|
||||||
};
|
};
|
||||||
|
disabledModules = [ "services/misc/gitea.nix" ];
|
||||||
|
imports =
|
||||||
|
[ "${inputs.nixpkgs-stable}/nixos/modules/services/misc/gitea.nix" ];
|
||||||
services.gitea = {
|
services.gitea = {
|
||||||
inherit domain httpPort;
|
inherit domain httpPort;
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -87,9 +90,10 @@ in {
|
||||||
stateDir = path;
|
stateDir = path;
|
||||||
user = systemUserName;
|
user = systemUserName;
|
||||||
mailerPasswordFile = mailgunSmtpPasswordPath;
|
mailerPasswordFile = mailgunSmtpPasswordPath;
|
||||||
package = inputs.nixpkgs-master.legacyPackages.${system}.forgejo;
|
|
||||||
settings = {
|
settings = {
|
||||||
service.DISABLE_REGISTRATION = true;
|
service.DISABLE_REGISTRATION = true;
|
||||||
|
security.INSTALL_LOCK = true;
|
||||||
|
oauth2.ENABLE = false;
|
||||||
"markup.mermaid" = {
|
"markup.mermaid" = {
|
||||||
ENABLED = true;
|
ENABLED = true;
|
||||||
FILE_EXTENSIONS = ".md";
|
FILE_EXTENSIONS = ".md";
|
||||||
|
|
Loading…
Reference in a new issue