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;
|
||||
allowNoPasswordLogin = true;
|
||||
};
|
||||
disabledModules = [ "services/misc/gitea.nix" ];
|
||||
imports =
|
||||
[ "${inputs.nixpkgs-stable}/nixos/modules/services/misc/gitea.nix" ];
|
||||
services.gitea = {
|
||||
inherit domain httpPort;
|
||||
enable = true;
|
||||
|
@ -87,9 +90,10 @@ in {
|
|||
stateDir = path;
|
||||
user = systemUserName;
|
||||
mailerPasswordFile = mailgunSmtpPasswordPath;
|
||||
package = inputs.nixpkgs-master.legacyPackages.${system}.forgejo;
|
||||
settings = {
|
||||
service.DISABLE_REGISTRATION = true;
|
||||
security.INSTALL_LOCK = true;
|
||||
oauth2.ENABLE = false;
|
||||
"markup.mermaid" = {
|
||||
ENABLED = true;
|
||||
FILE_EXTENSIONS = ".md";
|
||||
|
|
Loading…
Reference in a new issue