change nextcloud
This commit is contained in:
@@ -17,10 +17,11 @@
|
|||||||
};
|
};
|
||||||
extraAppsEnable = true;
|
extraAppsEnable = true;
|
||||||
|
|
||||||
|
database.createLocally = true;
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
adminpassFile = config.sops.secrets.nextcloud-adminpass.path;
|
adminpassFile = config.sops.secrets.nextcloud-adminpass.path;
|
||||||
dbtype = "mysql";
|
dbtype = "mysql";
|
||||||
dbhost = "/run/mysqld/mysqld.sock";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -30,15 +31,5 @@
|
|||||||
acmeRoot = null;
|
acmeRoot = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.mysql.ensureUsers = [
|
|
||||||
{
|
|
||||||
name = "nextcloud";
|
|
||||||
ensurePermissions = {
|
|
||||||
"nextcloud.*" = "ALL PRIVILEGES";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
services.mysql.ensureDatabases = [ "nextcloud" ];
|
|
||||||
services.mysqlBackup.databases = [ "nextcloud" ];
|
services.mysqlBackup.databases = [ "nextcloud" ];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user