2020-03-03 18:45:35 +01:00
|
|
|
{ pkgs, ... }: {
|
2020-03-03 17:14:21 +01:00
|
|
|
services.nextcloud = {
|
|
|
|
enable = true;
|
|
|
|
autoUpdateApps.enable = true;
|
|
|
|
config.adminpassFile = toString <secrets/nextcloud/rootpassword>;
|
|
|
|
#home = "/home/nextcloud";
|
|
|
|
nginx.enable = true;
|
|
|
|
hostName = "nextcloud.workhorse.private";
|
|
|
|
logLevel = 0;
|
2020-03-03 18:45:35 +01:00
|
|
|
config.extraTrustedDomains =
|
|
|
|
[ "nextcloud.ingolf-wagner.de" "nextcloud.gaykraft.com" ];
|
2020-03-03 17:14:21 +01:00
|
|
|
};
|
2020-03-03 18:45:35 +01:00
|
|
|
|
|
|
|
environment.systemPackages = [ pkgs.smbclient ];
|
|
|
|
|
2020-03-03 17:14:21 +01:00
|
|
|
}
|