17 lines
363 B
Nix
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";
|
|
};
|
|
};
|
|
|
|
}
|