feat(APPA): add nextcloud
This commit is contained in:
parent
8a3823f7df
commit
aaf6cefc09
6 changed files with 43 additions and 0 deletions
24
hosts/APPA/services/nextcloud.nix
Normal file
24
hosts/APPA/services/nextcloud.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue