dotfiles/nixos/boxes/bolty/nextcloud.nix
2022-02-22 20:41:49 +00:00

18 lines
363 B
Nix

{ config, pkgs, ... }:
{
networking.firewall.allowedTCPPorts = [ 80 ];
services.nextcloud = {
enable = true;
home = "/data/nextcloud";
https = false;
hostName = "purrfect.estate";
package = pkgs.nextcloud23;
config = {
adminuser = "cyryl";
adminpassFile = "/etc/secrets/nextcloud";
dbtype = "sqlite";
};
};
}