Configure nextcloud for montalin
This commit is contained in:
parent
d5cb513227
commit
f9c7e0ed0c
6 changed files with 58 additions and 17 deletions
|
@ -2,15 +2,23 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.nextcloud.config = {
|
||||
adminpassFile = "/secrets/nextcloud-admin"; # TODO
|
||||
adminuser = "root";
|
||||
dbtype = "pgsql";
|
||||
dbhost = "/run/postgresql";
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
https = true;
|
||||
maxUploadSize = "1G";
|
||||
nginx.enable = true;
|
||||
webfinger = true;
|
||||
nginx.enable = true;
|
||||
maxUploadSize = "1G";
|
||||
|
||||
config = {
|
||||
adminpassFile = "/secrets/nextcloud-admin"; # TODO
|
||||
adminuser = "root";
|
||||
dbtype = "pgsql";
|
||||
dbhost = "/run/postgresql";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services."nextcloud-setup" = {
|
||||
requires = ["postgresql.service"];
|
||||
after = ["postgresql.service"];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue