dotfiles/nixos/boxes/bolty/nextcloud.nix
Cyryl Płotnicki 3d6dd759c4 nixfmt
2022-03-10 12:25:23 +00:00

17 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";
};
};
}