dotfiles/nixos/boxes/bolty/nextcloud.nix
Cyryl Płotnicki 61651d8c04 add bolty
2021-10-01 10:06:37 +01: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.nextcloud22;
config = {
adminuser = "cyryl";
adminpassFile = "/etc/secrets/nextcloud";
dbtype = "sqlite";
};
};
}