feat(APPA): add nextcloud

This commit is contained in:
Jacob Bachmann 2024-09-17 16:12:42 +02:00
parent 8a3823f7df
commit aaf6cefc09
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
6 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ config, ... }:
{
age.secrets.passwords-gitea-db = {
file = ../../../secrets/passwords/gitea/db.age;
owner = config.users.users.nextcloud.name;
group = config.users.groups.nextcloud.name;
};
services.nextcloud = {
enable = true;
https = true;
hostName = "nextcloud.dryb.org";
database.createLocally = true;
config = {
adminuser = "admin";
adminpassFile = config.age.secrets.passwords-gitea-db.path;
};
autoUpdateApps = {
enable = true;
};
};
}