1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 14:50:40 +02:00

chore: some kanidm provisioning prototyping

This commit is contained in:
oddlama 2023-08-19 19:49:35 +02:00
parent 36e9f22602
commit 659ed7c854
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 79 additions and 2 deletions

View file

@ -131,6 +131,23 @@ openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 -nodes \
```nix
{
services.kanidm.provision = {
persons.myuser = {
legalname = "Full Name";
mail = "mail@example.com";
groups = ["grafana-access" "grafana-server-admins"];
};
groups.grafana-access = {};
groups.grafana-server-admins = {};
systems.oauth2.grafana = {
};
};
}
```