Refactor deprecated gitea options
This commit is contained in:
parent
037e1ce951
commit
ae413bd36c
|
@ -1,5 +1,4 @@
|
||||||
{ config, pkgs, lib, ... }: {
|
{ config, pkgs, lib, ... }: {
|
||||||
|
|
||||||
# Set up Gitea with LFS support
|
# Set up Gitea with LFS support
|
||||||
services.gitea = {
|
services.gitea = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -9,11 +8,14 @@
|
||||||
type = "postgres";
|
type = "postgres";
|
||||||
passwordFile = config.age.secrets.gitea.path;
|
passwordFile = config.age.secrets.gitea.path;
|
||||||
};
|
};
|
||||||
cookieSecure = true;
|
|
||||||
disableRegistration = true;
|
|
||||||
repositoryRoot = "/vault/git";
|
repositoryRoot = "/vault/git";
|
||||||
appName = "Gitea";
|
appName = "Gitea";
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
settings.ui.DEFAULT_THEME = "arc-green";
|
settings = {
|
||||||
|
ui.DEFAULT_THEME = "arc-green";
|
||||||
|
session.COOKIE_SECURE = true;
|
||||||
|
service.DISABLE_REGISTRATION = true;
|
||||||
|
server.DISABLE_SSH = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue