put earlyoom back

This commit is contained in:
Henry Hiles 2025-07-27 16:07:49 -04:00
commit 77b984f52e
No known key found for this signature in database
3 changed files with 10 additions and 7 deletions

View file

@ -32,6 +32,11 @@ in {
enableNginx = false;
redis.createLocally = true;
postgresql.createLocally = true;
frontendPackage = pkgs.lasuite-docs-frontend.overrideAttrs {
env.NODE_ENV = "production";
env.NEXT_PUBLIC_PUBLISH_AS_MIT = false;
env.PUBLISH_AS_MIT = false;
};
bind = "unix:${socket}";
inherit s3Url domain;
@ -40,8 +45,6 @@ in {
OIDC_OP_TOKEN_ENDPOINT = "http://${authDomain}/token";
OIDC_OP_USER_ENDPOINT = "http://${authDomain}/userinfo";
OIDC_RP_SIGN_ALGO = "HS256";
OIDC_USERINFO_FULLNAME_FIELDS = ''["name"]'';
OIDC_USERINFO_SHORTNAME_FIELD = "name";
LOGIN_REDIRECT_URL = "http://${domain}";
@ -71,7 +74,7 @@ in {
redir /api/v1.0/logout/None /
root * ${pkgs.lasuite-docs-frontend}
root * ${cfg.frontendPackage}
file_server
@uuidDocs path_regexp uuidDocs ^/docs/[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/?$

8
flake.lock generated
View file

@ -1466,11 +1466,11 @@
]
},
"locked": {
"lastModified": 1753538890,
"narHash": "sha256-GadAOR4VJXtYnpunNnjBQqaO2s9BJxD49ui9OmrHdBg=",
"lastModified": 1753645986,
"narHash": "sha256-zR94Qw7F4TB03aKNr4O/QcbTEH45N9XQItjWRnJ/BRA=",
"ref": "refs/heads/main",
"rev": "a86c8e2b26a6d12eaf6fd74f79111a08fc2768d6",
"revCount": 42,
"rev": "a5c4f900a279868f4d504914b53f27929ddc430c",
"revCount": 45,
"type": "git",
"url": "https://git.federated.nexus/Henry-Hiles/matrixoidc"
},