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