mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-02-23 14:53:56 +01:00
15 lines
303 B
Nix
15 lines
303 B
Nix
{ config, ... }:
|
|
{
|
|
sops.secrets.adminNextcloudPass = { };
|
|
services.nextcloud = {
|
|
|
|
enable = true;
|
|
hostName = "cloud.hypervirtual.world";
|
|
database.createLocally = true;
|
|
config = {
|
|
dbtype = "pgsql";
|
|
adminpassFile = config.sops.secrets.adminNextcloudPass.path;
|
|
};
|
|
};
|
|
}
|