Remove forgejo module in favor of docker
This commit is contained in:
parent
58f12015fa
commit
b06ce5c9dc
2 changed files with 24 additions and 8 deletions
|
@ -7,6 +7,17 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
|
||||
# users.users.git = {
|
||||
# description = "git";
|
||||
# uid = 993;
|
||||
# group = "ryot";
|
||||
# shell = pkgs.fish;
|
||||
# # openssh.authorizedKeys.keys = [
|
||||
# # "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIClZstYoT64zHnGfE7LMYNiQPN5/gmCt382lC+Ji8lrH PVE"
|
||||
# # ];
|
||||
# };
|
||||
|
||||
# Forgejo configuration
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
|
@ -22,10 +33,13 @@
|
|||
};
|
||||
|
||||
settings = {
|
||||
|
||||
DEFAULT = {
|
||||
# Configuration for Gitea
|
||||
# Configuration for forgejo
|
||||
I_AM_BEING_UNSAFE_RUNNING_AS_ROOT = "true";
|
||||
APP_NAME = "Ryot Git";
|
||||
RUN_MODE = "dev";
|
||||
RUN_USER = "toph";
|
||||
};
|
||||
|
||||
server = {
|
||||
|
@ -34,7 +48,9 @@
|
|||
HTTP_ADDR = "127.0.0.1";
|
||||
HTTP_PORT = 3003;
|
||||
ROOT_URL = "https://git.ryot.foo/";
|
||||
# SSH_PORT = 222;
|
||||
START_SSH_SERVER = true;
|
||||
BUILTIN_SSH_SERVER_USER = "git";
|
||||
SSH_PORT = 222;
|
||||
};
|
||||
|
||||
repository = {
|
||||
|
@ -86,5 +102,5 @@
|
|||
};
|
||||
|
||||
# Give admin group access to forgejo config
|
||||
users.users.${admin}.extraGroups = [ "forgejo" ];
|
||||
# users.users.${admin}.extraGroups = [ "forgejo" ];
|
||||
}
|
|
@ -20,7 +20,7 @@
|
|||
# Local Modules
|
||||
./modules/caddy
|
||||
./modules/frp
|
||||
./modules/forgejo
|
||||
# ./modules/forgejo
|
||||
./modules/komodo
|
||||
];
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
|||
[REDACTED]
|
||||
[REDACTED]
|
||||
[REDACTED]
|
||||
# 222 # Forgejo SSH
|
||||
222 # Forgejo SSH
|
||||
[REDACTED]
|
||||
[REDACTED]
|
||||
[REDACTED]
|
||||
|
|
Loading…
Add table
Reference in a new issue