diff --git a/modules/services/nextcloud/default.nix b/modules/services/nextcloud/default.nix index d1461b8..c27edfa 100644 --- a/modules/services/nextcloud/default.nix +++ b/modules/services/nextcloud/default.nix @@ -75,5 +75,10 @@ in "${config.services.nextcloud.home}/data/appdata_*/preview" ]; }; + + my.system.persist.directories = [ + config.services.nextcloud.home + config.services.nextcloud.datadir + ]; }; }