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

lastFile:modules/nixos/think-gtcm.nix
This commit is contained in:
2025-11-20 15:26:14 +07:00
parent 1a78f721e6
commit b0de95fd28
4 changed files with 8 additions and 6 deletions

View File

@@ -3,5 +3,8 @@
common = {
imports = [ ./common.nix ];
};
think-gtcm = {
imports = [ ./think-gtcm.nix ];
};
};
}

View File

@@ -218,7 +218,7 @@ in
services.nginx = {
enable = true;
virtualHosts."${cfg.domain}" = {
root = "${cfg.stateDir}/public";
root = "${cfg.package}/public";
locations."~ \\.php$".extraConfig = ''
fastcgi_pass unix:${config.services.phpfpm.pools.think-greaterchiangmai.socket};
fastcgi_index site.php;

View File

@@ -1,13 +1,12 @@
{ ... }:
{ self, ... }:
{
perSystem =
{ pkgs, self', ... }:
{ pkgs, ... }:
{
checks =
let
checkArgs = {
inherit pkgs;
self = self';
inherit pkgs self;
};
in
{

View File

@@ -5,7 +5,7 @@
node1 =
{ self, pkgs, ... }:
{
imports = [ ];
imports = [ self.nixosModules.think-gtcm ];
services.think-greaterchiangmai = {
enable = true;
};