service/nextcloud: exclude thumbnails from backup

This commit is contained in:
Felix Buehler 2022-12-04 18:07:21 +01:00
parent 52ec14a3c1
commit a5148fd051

View file

@ -26,7 +26,7 @@ in
description = "country codes for automatic phone-number "; description = "country codes for automatic phone-number ";
}; };
passwordFile = mkOption { passwordFile = mkOption {
type = types.str; type = types.path;
example = "/var/lib/nextcloud/password.txt"; example = "/var/lib/nextcloud/password.txt";
description = '' description = ''
Path to a file containing the admin's password, must be readable by Path to a file containing the admin's password, must be readable by
@ -108,15 +108,12 @@ in
''; '';
}; };
#my.services.backup = { my.services.backup = {
# paths = [ exclude = [
# config.services.nextcloud.home # image previews can take up a lot of space
# ]; "${config.services.nextcloud.home}/data/appdata_*/preview"
# exclude = [ ];
# # image previews can take up a lot of space };
# "${config.services.nextcloud.home}/data/appdata_*/preview"
# ];
#};
webapps.apps.nextcloud = { webapps.apps.nextcloud = {
dashboard = { dashboard = {