mob next [ci-skip] [ci skip] [skip ci]

lastFile:machines/ramus/think-greater-chiangmai.nix
This commit is contained in:
2025-11-26 16:17:42 +07:00
parent c3eb7fc814
commit 63d11c013a
2 changed files with 25 additions and 7 deletions

View File

@@ -1,8 +1,33 @@
{ self, ... }:
let
commonSettings = {
DB_CONNECTION = "mysql";
DB_HOST = "localhost";
DB_PORT = 3306;
DB_DATABASE = "thinkgtcm";
DB_USERNAME = "gtcm";
};
in
{
imports = [
self.nixosModules.think-gtcm
self.nixosModules.think-backend-gtcm
];
nixpkgs.overlays = [ self.overlays.packagesOverlay ];
services.think-greaterchiangmai = {
enable = true;
domain = "think.greaterchiangmai.com";
settings = {
}
// commonSettings;
};
services.think-backend-greaterchiangmai = {
enable = true;
domain = "think-backend.greaterchiangmai.com";
settings = {
}
// commonSettings;
};
}