Compare commits

...

2 commits

Author SHA1 Message Date
1852d8b88a
use https for redir 2025-07-27 20:28:47 -04:00
77b984f52e
put earlyoom back 2025-07-27 16:07:49 -04:00
4 changed files with 11 additions and 9 deletions

View file

@ -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 {
NODE_ENV = "production";
NEXT_PUBLIC_PUBLISH_AS_MIT = false;
PUBLISH_AS_MIT = false;
};
bind = "unix:${socket}"; bind = "unix:${socket}";
inherit s3Url domain; inherit s3Url domain;
@ -40,10 +45,8 @@ 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 = "https://${domain}";
AWS_S3_ENDPOINT_URL = s3Domain; AWS_S3_ENDPOINT_URL = s3Domain;
AWS_S3_ACCESS_KEY_ID = "minioadmin"; AWS_S3_ACCESS_KEY_ID = "minioadmin";
@ -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
View file

@ -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"
}, },

View file

@ -83,7 +83,6 @@
"fullscreen-avoider@noobsai.github.com" "fullscreen-avoider@noobsai.github.com"
"appindicatorsupport@rgcjonas.gmail.com" "appindicatorsupport@rgcjonas.gmail.com"
"compiz-windows-effect@hermes83.github.com" "compiz-windows-effect@hermes83.github.com"
"user-theme@gnome-shell-extensions.gcampax.github.com"
"display-brightness-ddcutil@themightydeity.github.com" "display-brightness-ddcutil@themightydeity.github.com"
"launch-new-instance@gnome-shell-extensions.gcampax.github.com" "launch-new-instance@gnome-shell-extensions.gcampax.github.com"
]; ];