set up outline
This commit is contained in:
parent
314e3e85bf
commit
dfd02b3a27
2 changed files with 13 additions and 2 deletions
|
@ -22,7 +22,10 @@ let vs = config.vault-secrets.secrets; in
|
|||
config.services.outline.port
|
||||
];
|
||||
|
||||
vault-secrets.secrets.outline = { };
|
||||
vault-secrets.secrets.outline = {
|
||||
user = config.services.outline.user;
|
||||
group = config.services.outline.group;
|
||||
};
|
||||
|
||||
services.outline = {
|
||||
enable = true;
|
||||
|
@ -40,5 +43,13 @@ let vs = config.vault-secrets.secrets; in
|
|||
uploadBucketName = "outline";
|
||||
region = "us-east-1"; # fake
|
||||
};
|
||||
oidcAuthentication = {
|
||||
userinfoUrl= "https://git.0x76.dev/login/oauth/userinfo";
|
||||
tokenUrl = "https://git.0x76.dev/login/oauth/access_token";
|
||||
displayName = "Gitea";
|
||||
clientId = "db58b9f0-aed1-4a60-a9bb-56077a790f5b";
|
||||
authUrl = "https://git.0x76.dev/login/oauth/authorize";
|
||||
clientSecretFile = "${vs.outline}/giteaClientSecret";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue