Add flake
This commit is contained in:
parent
25bdf87b5b
commit
945846e0b5
3 changed files with 829 additions and 1 deletions
56
README.md
56
README.md
|
|
@ -1,2 +1,56 @@
|
|||
# nextcloud
|
||||
# Nextcloud
|
||||
|
||||
Example:
|
||||
|
||||
```nix
|
||||
{ config, ... }:
|
||||
{
|
||||
sops.secrets = {
|
||||
nextcloud-jwt = { };
|
||||
nextcloud-oidc = { };
|
||||
nextcloud-admin-password = { };
|
||||
};
|
||||
|
||||
custom.nextcloud = {
|
||||
enable = true;
|
||||
|
||||
hostName = "cloud.example.com";
|
||||
adminUser = "administrator";
|
||||
useAuthentikSSO = true;
|
||||
|
||||
secrets = {
|
||||
adminPasswordFile = config.sops.secrets.nextcloud-admin-password.path;
|
||||
jwtFile = config.sops.secrets.nextcloud-jwt.path;
|
||||
oidcClientSecretFile = config.sops.secrets.nextcloud-oidc.path;
|
||||
};
|
||||
|
||||
nginx.useACMEHost = "example.com";
|
||||
|
||||
anubis.enable = true;
|
||||
|
||||
authentik = {
|
||||
hostName = "auth.example.com";
|
||||
providerName = "My authentik provider";
|
||||
blueprint.enable = true;
|
||||
};
|
||||
|
||||
addons = {
|
||||
apps = [
|
||||
"mail"
|
||||
"deck"
|
||||
];
|
||||
|
||||
whiteboard = {
|
||||
enable = true;
|
||||
hostName = "whiteboad.example.com";
|
||||
disableRecording = true;
|
||||
};
|
||||
|
||||
eurooffice = {
|
||||
enable = true;
|
||||
hostName = "eurooffice.example.com";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue