forgejo: use forgejo package and forgejo-dark theme
Signed-off-by: cy <cy@cy7.sh>
This commit is contained in:
parent
5fc61d955b
commit
6ae187f7c6
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
||||||
{ ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
services.forgejo = {
|
services.forgejo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.forgejo; # uses forgejo-lts by default
|
||||||
user = "git";
|
user = "git";
|
||||||
group = "git";
|
group = "git";
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -16,7 +17,7 @@
|
||||||
service.DISABLE_REGISTRATION = true;
|
service.DISABLE_REGISTRATION = true;
|
||||||
ui = {
|
ui = {
|
||||||
AMBIGUOUS_UNICODE_DETECTION = false;
|
AMBIGUOUS_UNICODE_DETECTION = false;
|
||||||
DEFAULT_THEME = "gitea-dark";
|
DEFAULT_THEME = "forgejo-dark";
|
||||||
};
|
};
|
||||||
actions.ENABLED = false;
|
actions.ENABLED = false;
|
||||||
repository.ENABLE_PUSH_CREATE_USER = true;
|
repository.ENABLE_PUSH_CREATE_USER = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue