dotfiles/nixos/boxes/brix/nextcloud.nix
Cyryl Płotnicki 5e7a3237b1 add nextcloud
2021-09-12 09:28:34 +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";
};
};
}