mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 22:11:33 +01:00
Adjust nextcloud data dir structure
This commit is contained in:
parent
feda29b824
commit
5fb08b9c85
2 changed files with 5 additions and 5 deletions
|
|
@ -6,15 +6,16 @@
|
|||
{
|
||||
systemd.tmpfiles.rules = [
|
||||
"z /run/secrets/nextcloud/admin-password 400 nextcloud nextcloud -"
|
||||
"z /data/postgresql 700 postgres postgres -"
|
||||
"d /data/nextcloud/home 750 nextcloud nextcloud -"
|
||||
"d /data/nextcloud/postgresql 700 postgres postgres -"
|
||||
];
|
||||
|
||||
services.postgresql.dataDir = "/data/postgresql";
|
||||
services.postgresql.dataDir = "/data/nextcloud/postgresql";
|
||||
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
package = pkgs.nextcloud29;
|
||||
home = "/data/nextcloud";
|
||||
home = "/data/nextcloud/home";
|
||||
hostName = config.networking.fqdn;
|
||||
|
||||
database.createLocally = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue