Initial commit

This commit is contained in:
Julien Hémono 2024-06-15 11:51:28 +02:00
commit a4da04692c
11 changed files with 543 additions and 0 deletions

30
hosts/sesame/suite.nix Normal file
View file

@ -0,0 +1,30 @@
{ config, lib, pkgs, ... }:
{
# Nextcloud
services.nextcloud = {
enable = true;
package = pkgs.nextcloud29;
hostName = "suite.hemono.fr";
https = true;
# phpOptions = {
# memory_limit = lib.mkForce "3G";
# };
configureRedis = true;
database.createLocally = true;
config = {
adminuser = "jhemono";
adminpassFile = "/etc/nextcloud-admin-pass";
dbtype = "mysql";
};
# appstoreEnable = true;
extraApps = {
inherit (config.services.nextcloud.package.packages.apps) calendar contacts;
};
};
services.nginx.virtualHosts.${config.services.nextcloud.hostName} = {
forceSSL = true;
enableACME = true;
};
}