Update gitea service confit to match new names.
This commit is contained in:
parent
dccbaf1d7c
commit
4db219c279
1 changed files with 5 additions and 2 deletions
|
@ -10,7 +10,6 @@ mkIf (elem "gitea" config.machine.services) {
|
||||||
in {
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
user = "git";
|
user = "git";
|
||||||
cookieSecure = true;
|
|
||||||
domain = domain;
|
domain = domain;
|
||||||
rootUrl = "http://${domain}/";
|
rootUrl = "http://${domain}/";
|
||||||
database = {
|
database = {
|
||||||
|
@ -34,6 +33,10 @@ mkIf (elem "gitea" config.machine.services) {
|
||||||
service = {
|
service = {
|
||||||
DISABLE_REGISTRATION = (lib.mkForce true);
|
DISABLE_REGISTRATION = (lib.mkForce true);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
session = {
|
||||||
|
cookieSecure = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue