nixos-config/modules/services/server/nextcloud.nix

24 lines
535 B
Nix
Raw Normal View History

2022-12-11 18:35:42 +01:00
{ pkgs, ... }:
{
services.nextcloud = {
enable = true;
hostName = "cloud.kabtop.de";
https = true;
config = {
dbtype = "pgsql";
dbuser = "nextcloud";
dbhost = "localhost";
dbname = "nextclouddb";
dbport =
adminuser = "kabbone";
#adminpassFile = "secret123";
};
};
systemd.services."nextcloud-setup" = {
requires = ["postgresql.service"];
after = ["postgresql.service"];
};
}