Initial commit
This commit is contained in:
commit
a4da04692c
11 changed files with 543 additions and 0 deletions
30
hosts/sesame/suite.nix
Normal file
30
hosts/sesame/suite.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue