refactor(nixos): use mkWebApp module to simplify web app definitions

This commit is contained in:
Mohammad Rafiq 2025-06-16 14:55:00 +08:00
parent 2292baecf6
commit a5d8bfcdd5
No known key found for this signature in database
8 changed files with 81 additions and 91 deletions

View file

@ -34,13 +34,16 @@
};
web-apps = {
librechat.enable = true;
librechat.url = "chat.bwfiq.com";
mattermost.enable = true;
mattermost.url = "mm.bwfiq.com";
librechat.domain = "chat.bwfiq.com";
forgejo.enable = true;
forgejo.url = "git.rrv.sh";
forgejo.domain = "git.rrv.sh";
glance.enable = true;
glance.domain = "glance.bwfiq.com";
mattermost = {
enable = true;
domain = "mm.bwfiq.com";
extraCfg.siteName = "pantheon";
};
};
web-servers = {
enableSSL = true;