services: work on initial nextcloud
This commit is contained in:
parent
37b97e4010
commit
b1f8129a1e
@ -3,18 +3,25 @@
|
|||||||
{
|
{
|
||||||
services.nextcloud = {
|
services.nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostName = "cloud.kabtop.de";
|
hostName = "cloud2.kabtop.de";
|
||||||
https = true;
|
https = true;
|
||||||
|
package = pkgs.nextcloud25;
|
||||||
config = {
|
config = {
|
||||||
dbtype = "pgsql";
|
dbtype = "pgsql";
|
||||||
dbuser = "nextcloud";
|
dbuser = "nextcloud";
|
||||||
dbhost = "localhost";
|
dbhost = "localhost";
|
||||||
dbname = "nextclouddb";
|
dbname = "nextclouddb";
|
||||||
dbport =
|
|
||||||
adminuser = "kabbone";
|
adminuser = "kabbone";
|
||||||
adminpassFile = config.age.secrets."services/nextcloud/adminpassFile".path;
|
adminpassFile = config.age.secrets."services/nextcloud/adminpassFile".path;
|
||||||
dbpassFile = config.age.secrets."services/nextcloud/dbpassFile".path;
|
dbpassFile = config.age.secrets."services/nextcloud/dbpassFile".path;
|
||||||
|
overwriteProtocol = "https";
|
||||||
|
defaultPhoneRegion = "DE";
|
||||||
};
|
};
|
||||||
|
#phpExtraExtensions = ;
|
||||||
|
#extraApps = with pkgs.nextcloud25Packages.apps; {
|
||||||
|
# inherit mail news contacts;
|
||||||
|
#};
|
||||||
|
#autoUpdateApps.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
age.secrets."services/nextcloud/dbpassFile" = {
|
age.secrets."services/nextcloud/dbpassFile" = {
|
||||||
|
Loading…
Reference in New Issue
Block a user