nix-config/features/services/nextcloud.nix

15 lines
303 B
Nix
Raw Normal View History

2024-08-12 15:56:45 +02:00
{ config, ... }:
{
2024-08-12 17:45:03 +02:00
sops.secrets.adminNextcloudPass = { };
2024-08-12 16:09:02 +02:00
services.nextcloud = {
2024-08-12 17:45:03 +02:00
2024-08-12 15:56:45 +02:00
enable = true;
hostName = "cloud.hypervirtual.world";
database.createLocally = true;
config = {
dbtype = "pgsql";
2024-08-12 17:47:03 +02:00
adminpassFile = config.sops.secrets.adminNextcloudPass.path;
2024-08-12 15:56:45 +02:00
};
};
}