Compare commits

...

2 Commits

Author SHA1 Message Date
f580a3ddce WIP
All checks were successful
Eval nix flake / evals (push) Successful in 6m8s
2025-12-16 17:49:23 +01:00
91f02c7b75 flake.lock: bump minecraft-kartverket
Some checks failed
Eval nix flake / evals (push) Has been cancelled
2025-12-17 01:48:32 +09:00
2 changed files with 10 additions and 7 deletions

8
flake.lock generated
View File

@@ -129,11 +129,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1764830810, "lastModified": 1765903589,
"narHash": "sha256-I/pVqi4STwmJbpFDI9TmU9PS1lKuYdbJLcztukvZ3PU=", "narHash": "sha256-JRLmckeM4G2hkH2V3VdfjHrrsWgJ8j7rZDYYjHTkRqA=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "df52aa968679a62745bf42c272de53fdd9a035ac", "rev": "7c86d342e68506fcd83cb74af3336f99ff522a0a",
"revCount": 16, "revCount": 24,
"type": "git", "type": "git",
"url": "https://git.pvv.ntnu.no/Projects/minecraft-kartverket.git" "url": "https://git.pvv.ntnu.no/Projects/minecraft-kartverket.git"
}, },

View File

@@ -55,8 +55,10 @@ in {
DOOR_SECRET = includeFromSops "door_secret"; DOOR_SECRET = includeFromSops "door_secret";
DB = { DB = {
DSN = "mysql:dbname=www-data_nettside;host=mysql.pvv.ntnu.no"; # DSN = "mysql:dbname=www-data_nettside;host=mysql.pvv.ntnu.no";
USER = "www-data_nettsi"; # USER = "www-data_nettsi";
DSN = "pgsql:dbname=pvv_nettsiden;host=postgres.pvv.ntnu.no";
USER = "pvv_nettsiden";
PASS = includeFromSops "mysql_password"; PASS = includeFromSops "mysql_password";
}; };
@@ -78,7 +80,8 @@ in {
}; };
services.phpfpm.pools."pvv-nettsiden".settings = { services.phpfpm.pools."pvv-nettsiden".settings = {
# "php_admin_value[error_log]" = "stderr"; "php_flag[display_errors]" = true;
"php_admin_value[error_log]" = "syslog";
"php_admin_flag[log_errors]" = true; "php_admin_flag[log_errors]" = true;
"catch_workers_output" = true; "catch_workers_output" = true;
}; };