put earlyoom back
This commit is contained in:
parent
87fc9751f7
commit
77b984f52e
3 changed files with 10 additions and 7 deletions
|
@ -32,6 +32,11 @@ in {
|
||||||
enableNginx = false;
|
enableNginx = false;
|
||||||
redis.createLocally = true;
|
redis.createLocally = true;
|
||||||
postgresql.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}";
|
bind = "unix:${socket}";
|
||||||
inherit s3Url domain;
|
inherit s3Url domain;
|
||||||
|
|
||||||
|
@ -40,8 +45,6 @@ in {
|
||||||
OIDC_OP_TOKEN_ENDPOINT = "http://${authDomain}/token";
|
OIDC_OP_TOKEN_ENDPOINT = "http://${authDomain}/token";
|
||||||
OIDC_OP_USER_ENDPOINT = "http://${authDomain}/userinfo";
|
OIDC_OP_USER_ENDPOINT = "http://${authDomain}/userinfo";
|
||||||
OIDC_RP_SIGN_ALGO = "HS256";
|
OIDC_RP_SIGN_ALGO = "HS256";
|
||||||
OIDC_USERINFO_FULLNAME_FIELDS = ''["name"]'';
|
|
||||||
OIDC_USERINFO_SHORTNAME_FIELD = "name";
|
|
||||||
|
|
||||||
LOGIN_REDIRECT_URL = "http://${domain}";
|
LOGIN_REDIRECT_URL = "http://${domain}";
|
||||||
|
|
||||||
|
@ -71,7 +74,7 @@ in {
|
||||||
|
|
||||||
redir /api/v1.0/logout/None /
|
redir /api/v1.0/logout/None /
|
||||||
|
|
||||||
root * ${pkgs.lasuite-docs-frontend}
|
root * ${cfg.frontendPackage}
|
||||||
file_server
|
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}/?$
|
@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
8
flake.lock
generated
|
@ -1466,11 +1466,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1753538890,
|
"lastModified": 1753645986,
|
||||||
"narHash": "sha256-GadAOR4VJXtYnpunNnjBQqaO2s9BJxD49ui9OmrHdBg=",
|
"narHash": "sha256-zR94Qw7F4TB03aKNr4O/QcbTEH45N9XQItjWRnJ/BRA=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "a86c8e2b26a6d12eaf6fd74f79111a08fc2768d6",
|
"rev": "a5c4f900a279868f4d504914b53f27929ddc430c",
|
||||||
"revCount": 42,
|
"revCount": 45,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.federated.nexus/Henry-Hiles/matrixoidc"
|
"url": "https://git.federated.nexus/Henry-Hiles/matrixoidc"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue