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:
parent
36e9f22602
commit
659ed7c854
2 changed files with 79 additions and 2 deletions
17
README.md
17
README.md
|
@ -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 = {
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue