My nix-darwin and NixOS config
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: ensure tmp exists

+7
+7
modules/nextcloud.nix
··· 147 147 ''; 148 148 }; 149 149 150 + # Ensure the PHP upload tmp dir exists with correct ownership before Nextcloud 151 + # starts. Without this, PHP silently falls back to /tmp (a different filesystem), 152 + # causing cross-device rename failures that leave large uploads as ghost entries. 153 + systemd.tmpfiles.rules = [ 154 + "d ${nc.dataDir}/tmp 0750 nextcloud nextcloud -" 155 + ]; 156 + 150 157 # Wait for /srv to be mounted before starting Nextcloud. 151 158 systemd.services.nextcloud-setup = { 152 159 after = [ "srv.mount" ];