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.nextcloud24;
|
|
config = {
|
|
adminuser = "cyryl";
|
|
adminpassFile = "/etc/secrets/nextcloud";
|
|
dbtype = "sqlite";
|
|
};
|
|
};
|
|
|
|
}
|