nixos-config/configs/workhorse/nextcloud.nix

17 lines
443 B
Nix
Raw Normal View History

2020-03-03 18:45:35 +01:00
{ 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;
2020-03-03 18:45:35 +01:00
config.extraTrustedDomains =
[ "nextcloud.ingolf-wagner.de" "nextcloud.gaykraft.com" ];
};
2020-03-03 18:45:35 +01:00
environment.systemPackages = [ pkgs.smbclient ];
}