forked from mirrors_public/oddlama_nix-config
feat: add mealie
This commit is contained in:
parent
825babc919
commit
af4c7db8c1
26 changed files with 211 additions and 0 deletions
|
@ -39,6 +39,7 @@ in
|
|||
age.secrets.kanidm-oauth2-grafana = mkRandomSecret;
|
||||
age.secrets.kanidm-oauth2-immich = mkRandomSecret;
|
||||
age.secrets.kanidm-oauth2-firezone = mkRandomSecret;
|
||||
age.secrets.kanidm-oauth2-mealie = mkRandomSecret;
|
||||
age.secrets.kanidm-oauth2-paperless = mkRandomSecret;
|
||||
age.secrets.kanidm-oauth2-web-sentinel = mkRandomSecret;
|
||||
|
||||
|
@ -155,6 +156,29 @@ in
|
|||
];
|
||||
};
|
||||
|
||||
# Mealie
|
||||
groups."mealie.access" = { };
|
||||
groups."mealie.admins" = { };
|
||||
systems.oauth2.mealie = {
|
||||
displayName = "Mealie";
|
||||
originUrl = "https://${globals.services.mealie.domain}/login";
|
||||
originLanding = "https://${globals.services.mealie.domain}/";
|
||||
basicSecretFile = config.age.secrets.kanidm-oauth2-mealie.path;
|
||||
preferShortUsername = true;
|
||||
scopeMaps."mealie.access" = [
|
||||
"openid"
|
||||
"email"
|
||||
"profile"
|
||||
];
|
||||
claimMaps.groups = {
|
||||
joinType = "array";
|
||||
valuesByGroup = {
|
||||
"mealie.access" = [ "user" ];
|
||||
"mealie.admins" = [ "admin" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Paperless
|
||||
groups."paperless.access" = { };
|
||||
systems.oauth2.paperless = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue