feat : Add of secret for roundcube and vaultwarden
This commit is contained in:
parent
a59e409a49
commit
2f5c8be389
18 changed files with 116 additions and 51 deletions
|
|
@ -1,5 +1,8 @@
|
|||
{ config,lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.services.forgejo;
|
||||
srv = cfg.settings.server;
|
||||
in
|
||||
lib.mkIf config.module.forgejo.enable {
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
|
|
@ -11,7 +14,7 @@ lib.mkIf config.module.forgejo.enable {
|
|||
DOMAIN = "git.${config.module.domain}";
|
||||
# You need to specify this to remove the port from URLs in the web UI.
|
||||
ROOT_URL = "https://${srv.DOMAIN}/";
|
||||
HTTP_PORT = 8222;
|
||||
HTTP_PORT = config.module.forgejo.internalPort;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue