Compare commits
No commits in common. "d75eb9d028b67520f2bf8898268c1c5b5d2fcaf5" and "443b76f23537be73231ab898a76cd0492be6a310" have entirely different histories.
d75eb9d028
...
443b76f235
1 changed files with 2 additions and 5 deletions
|
|
@ -52,9 +52,7 @@ in {
|
||||||
services.forgejo = {
|
services.forgejo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
user = forgejoUser;
|
user = forgejoUser;
|
||||||
group = config.users.users.${forgejoUser}.group;
|
appName = "Personal Forge";
|
||||||
stateDir = "/var/lib/${forgejoUser}";
|
|
||||||
|
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
|
@ -65,6 +63,7 @@ in {
|
||||||
HTTP_PORT = cfg.privatePort;
|
HTTP_PORT = cfg.privatePort;
|
||||||
};
|
};
|
||||||
log.LEVEL = "Warn"; # [ "Trace" "Debug" "Info" "Warn" "Error" "Critical" ]
|
log.LEVEL = "Warn"; # [ "Trace" "Debug" "Info" "Warn" "Error" "Critical" ]
|
||||||
|
other.SHOW_FOOTER_VERSION = false;
|
||||||
repository = {
|
repository = {
|
||||||
ENABLE_PUSH_CREATE_USER = true;
|
ENABLE_PUSH_CREATE_USER = true;
|
||||||
DEFAULT_BRANCH = "main";
|
DEFAULT_BRANCH = "main";
|
||||||
|
|
@ -75,8 +74,6 @@ in {
|
||||||
|
|
||||||
# only send cookies via HTTPS
|
# only send cookies via HTTPS
|
||||||
session.COOKIE_SECURE = true;
|
session.COOKIE_SECURE = true;
|
||||||
|
|
||||||
DEFAULT.APP_NAME = "Personal Forge";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# NixOS module uses `forgejo dump` to backup repositories and the database,
|
# NixOS module uses `forgejo dump` to backup repositories and the database,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue