nixos-config/configs/workhorse/nextcloud.nix
2020-03-04 01:45:35 +08:00

16 lines
443 B
Nix

{ pkgs, ... }: {
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;
config.extraTrustedDomains =
[ "nextcloud.ingolf-wagner.de" "nextcloud.gaykraft.com" ];
};
environment.systemPackages = [ pkgs.smbclient ];
}